Hex Color #CFEF2A - Custom Color
Color Codes
HEX
#CFEF2A
RGB
rgb(207, 239, 42)
HSL
hsl(70, 86%, 55%)
CMYK
cmyk(13%, 0%, 82%, 6%)
HSV
hsv(70, 82%, 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.03: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: #CFEF2A;
color: #CFEF2A;
border-color: #CFEF2A;
}
Tailwind CSS (with arbitrary values)
bg-[#CFEF2A]
text-[#CFEF2A]
border-[#CFEF2A]
// Example usage:
<div className="bg-[#CFEF2A]">