Hex Color #CFA84F - Custom Color
Color Codes
HEX
#CFA84F
RGB
rgb(207, 168, 79)
HSL
hsl(42, 57%, 56%)
CMYK
cmyk(0%, 19%, 62%, 19%)
HSV
hsv(42, 62%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.37: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: #CFA84F;
color: #CFA84F;
border-color: #CFA84F;
}
Tailwind CSS (with arbitrary values)
bg-[#CFA84F]
text-[#CFA84F]
border-[#CFA84F]
// Example usage:
<div className="bg-[#CFA84F]">