Hex Color #CEA709 - Custom Color
Color Codes
HEX
#CEA709
RGB
rgb(206, 167, 9)
HSL
hsl(48, 92%, 42%)
CMYK
cmyk(0%, 19%, 96%, 19%)
HSV
hsv(48, 96%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.29:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.16: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: #CEA709;
color: #CEA709;
border-color: #CEA709;
}
Tailwind CSS (with arbitrary values)
bg-[#CEA709]
text-[#CEA709]
border-[#CEA709]
// Example usage:
<div className="bg-[#CEA709]">