Hex Color #B7A87B - Custom Color
Color Codes
HEX
#B7A87B
RGB
rgb(183, 168, 123)
HSL
hsl(45, 29%, 60%)
CMYK
cmyk(0%, 8%, 33%, 28%)
HSV
hsv(45, 33%, 72%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.90: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: #B7A87B;
color: #B7A87B;
border-color: #B7A87B;
}
Tailwind CSS (with arbitrary values)
bg-[#B7A87B]
text-[#B7A87B]
border-[#B7A87B]
// Example usage:
<div className="bg-[#B7A87B]">