Hex Color #C7B85A - Custom Color
Color Codes
HEX
#C7B85A
RGB
rgb(199, 184, 90)
HSL
hsl(52, 49%, 57%)
CMYK
cmyk(0%, 8%, 55%, 22%)
HSV
hsv(52, 55%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.43: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: #C7B85A;
color: #C7B85A;
border-color: #C7B85A;
}
Tailwind CSS (with arbitrary values)
bg-[#C7B85A]
text-[#C7B85A]
border-[#C7B85A]
// Example usage:
<div className="bg-[#C7B85A]">