Hex Color #CFEF8B - Custom Color

Color Codes

HEX
#CFEF8B
RGB
rgb(207, 239, 139)
HSL
hsl(79, 76%, 74%)
CMYK
cmyk(13%, 0%, 42%, 6%)
HSV
hsv(79, 42%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 16.37:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #CFEF8B;
color: #CFEF8B;
border-color: #CFEF8B;
}

Tailwind CSS (with arbitrary values)

bg-[#CFEF8B]
text-[#CFEF8B]
border-[#CFEF8B]
// Example usage:
<div className="bg-[#CFEF8B]">