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