Hex Color #CFFD18 - Custom Color
Color Codes
HEX
#CFFD18
RGB
rgb(207, 253, 24)
HSL
hsl(72, 98%, 54%)
CMYK
cmyk(18%, 0%, 91%, 1%)
HSV
hsv(72, 91%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.19:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.72: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: #CFFD18;
color: #CFFD18;
border-color: #CFFD18;
}
Tailwind CSS (with arbitrary values)
bg-[#CFFD18]
text-[#CFFD18]
border-[#CFFD18]
// Example usage:
<div className="bg-[#CFFD18]">