Hex Color #C8970A - Custom Color
Color Codes
HEX
#C8970A
RGB
rgb(200, 151, 10)
HSL
hsl(45, 90%, 41%)
CMYK
cmyk(0%, 25%, 95%, 22%)
HSV
hsv(45, 95%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.89: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: #C8970A;
color: #C8970A;
border-color: #C8970A;
}
Tailwind CSS (with arbitrary values)
bg-[#C8970A]
text-[#C8970A]
border-[#C8970A]
// Example usage:
<div className="bg-[#C8970A]">