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