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