Hex Color #AB9879 - Custom Color
Color Codes
HEX
#AB9879
RGB
rgb(171, 152, 121)
HSL
hsl(37, 23%, 57%)
CMYK
cmyk(0%, 11%, 29%, 33%)
HSV
hsv(37, 29%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.50: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: #AB9879;
color: #AB9879;
border-color: #AB9879;
}
Tailwind CSS (with arbitrary values)
bg-[#AB9879]
text-[#AB9879]
border-[#AB9879]
// Example usage:
<div className="bg-[#AB9879]">