Hex Color #CCCC3C - Custom Color
Color Codes
HEX
#CCCC3C
RGB
rgb(204, 204, 60)
HSL
hsl(60, 59%, 52%)
CMYK
cmyk(0%, 0%, 71%, 20%)
HSV
hsv(60, 71%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.71:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.27: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: #CCCC3C;
color: #CCCC3C;
border-color: #CCCC3C;
}
Tailwind CSS (with arbitrary values)
bg-[#CCCC3C]
text-[#CCCC3C]
border-[#CCCC3C]
// Example usage:
<div className="bg-[#CCCC3C]">