Hex Color #CCB612 - Custom Color
Color Codes
HEX
#CCB612
RGB
rgb(204, 182, 18)
HSL
hsl(53, 84%, 44%)
CMYK
cmyk(0%, 11%, 91%, 20%)
HSV
hsv(53, 91%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.27:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #CCB612;
color: #CCB612;
border-color: #CCB612;
}
Tailwind CSS (with arbitrary values)
bg-[#CCB612]
text-[#CCB612]
border-[#CCB612]
// Example usage:
<div className="bg-[#CCB612]">