Hex Color #B97842 - Custom Color
Color Codes
HEX
#B97842
RGB
rgb(185, 120, 66)
HSL
hsl(27, 47%, 49%)
CMYK
cmyk(0%, 35%, 64%, 27%)
HSV
hsv(27, 64%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.60:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.83: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: #B97842;
color: #B97842;
border-color: #B97842;
}
Tailwind CSS (with arbitrary values)
bg-[#B97842]
text-[#B97842]
border-[#B97842]
// Example usage:
<div className="bg-[#B97842]">