Hex Color #AA871C - Custom Color
Color Codes
HEX
#AA871C
RGB
rgb(170, 135, 28)
HSL
hsl(45, 72%, 39%)
CMYK
cmyk(0%, 21%, 84%, 33%)
HSV
hsv(45, 84%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.39:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.19: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: #AA871C;
color: #AA871C;
border-color: #AA871C;
}
Tailwind CSS (with arbitrary values)
bg-[#AA871C]
text-[#AA871C]
border-[#AA871C]
// Example usage:
<div className="bg-[#AA871C]">