Hex Color #CECA7D - Custom Color
Color Codes
HEX
#CECA7D
RGB
rgb(206, 202, 125)
HSL
hsl(57, 45%, 65%)
CMYK
cmyk(0%, 2%, 39%, 19%)
HSV
hsv(57, 39%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.70:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.37: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: #CECA7D;
color: #CECA7D;
border-color: #CECA7D;
}
Tailwind CSS (with arbitrary values)
bg-[#CECA7D]
text-[#CECA7D]
border-[#CECA7D]
// Example usage:
<div className="bg-[#CECA7D]">