Hex Color #87841A - Custom Color
Color Codes
HEX
#87841A
RGB
rgb(135, 132, 26)
HSL
hsl(58, 68%, 32%)
CMYK
cmyk(0%, 2%, 81%, 47%)
HSV
hsv(58, 81%, 53%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.93:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.35:1
Pass - WCAG AA (Normal Text)
Fail - 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: #87841A;
color: #87841A;
border-color: #87841A;
}
Tailwind CSS (with arbitrary values)
bg-[#87841A]
text-[#87841A]
border-[#87841A]
// Example usage:
<div className="bg-[#87841A]">