Hex Color #CEA70F - Custom Color
Color Codes
HEX
#CEA70F
RGB
rgb(206, 167, 15)
HSL
hsl(48, 86%, 43%)
CMYK
cmyk(0%, 19%, 93%, 19%)
HSV
hsv(48, 93%, 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: #CEA70F;
color: #CEA70F;
border-color: #CEA70F;
}
Tailwind CSS (with arbitrary values)
bg-[#CEA70F]
text-[#CEA70F]
border-[#CEA70F]
// Example usage:
<div className="bg-[#CEA70F]">