Hex Color #CDF040 - Custom Color
Color Codes
HEX
#CDF040
RGB
rgb(205, 240, 64)
HSL
hsl(72, 85%, 60%)
CMYK
cmyk(15%, 0%, 73%, 6%)
HSV
hsv(72, 73%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.13: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: #CDF040;
color: #CDF040;
border-color: #CDF040;
}
Tailwind CSS (with arbitrary values)
bg-[#CDF040]
text-[#CDF040]
border-[#CDF040]
// Example usage:
<div className="bg-[#CDF040]">