Hex Color #8E742B - Custom Color
Color Codes
HEX
#8E742B
RGB
rgb(142, 116, 43)
HSL
hsl(44, 54%, 36%)
CMYK
cmyk(0%, 18%, 70%, 44%)
HSV
hsv(44, 70%, 56%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.68: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: #8E742B;
color: #8E742B;
border-color: #8E742B;
}
Tailwind CSS (with arbitrary values)
bg-[#8E742B]
text-[#8E742B]
border-[#8E742B]
// Example usage:
<div className="bg-[#8E742B]">