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