Hex Color #CCD40D - Custom Color
Color Codes
HEX
#CCD40D
RGB
rgb(204, 212, 13)
HSL
hsl(62, 88%, 44%)
CMYK
cmyk(4%, 0%, 94%, 17%)
HSV
hsv(62, 94%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.62:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.99: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: #CCD40D;
color: #CCD40D;
border-color: #CCD40D;
}
Tailwind CSS (with arbitrary values)
bg-[#CCD40D]
text-[#CCD40D]
border-[#CCD40D]
// Example usage:
<div className="bg-[#CCD40D]">