Hex Color #CFEF1A - Custom Color

Color Codes

HEX
#CFEF1A
RGB
rgb(207, 239, 26)
HSL
hsl(69, 87%, 52%)
CMYK
cmyk(13%, 0%, 89%, 6%)
HSV
hsv(69, 89%, 94%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 16.01: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: #CFEF1A;
color: #CFEF1A;
border-color: #CFEF1A;
}

Tailwind CSS (with arbitrary values)

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