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