Hex Color #CDEC04 - Custom Color
Color Codes
HEX
#CDEC04
RGB
rgb(205, 236, 4)
HSL
hsl(68, 97%, 47%)
CMYK
cmyk(13%, 0%, 98%, 7%)
HSV
hsv(68, 98%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.60: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: #CDEC04;
color: #CDEC04;
border-color: #CDEC04;
}
Tailwind CSS (with arbitrary values)
bg-[#CDEC04]
text-[#CDEC04]
border-[#CDEC04]
// Example usage:
<div className="bg-[#CDEC04]">