Hex Color #CFC043 - Custom Color
Color Codes
HEX
#CFC043
RGB
rgb(207, 192, 67)
HSL
hsl(54, 59%, 54%)
CMYK
cmyk(0%, 7%, 68%, 19%)
HSV
hsv(54, 68%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.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: #CFC043;
color: #CFC043;
border-color: #CFC043;
}
Tailwind CSS (with arbitrary values)
bg-[#CFC043]
text-[#CFC043]
border-[#CFC043]
// Example usage:
<div className="bg-[#CFC043]">