Hex Color #B49742 - Custom Color
Color Codes
HEX
#B49742
RGB
rgb(180, 151, 66)
HSL
hsl(45, 46%, 48%)
CMYK
cmyk(0%, 16%, 63%, 29%)
HSV
hsv(45, 63%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.82:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.45: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: #B49742;
color: #B49742;
border-color: #B49742;
}
Tailwind CSS (with arbitrary values)
bg-[#B49742]
text-[#B49742]
border-[#B49742]
// Example usage:
<div className="bg-[#B49742]">