Hex Color #AAA147 - Custom Color
Color Codes
HEX
#AAA147
RGB
rgb(170, 161, 71)
HSL
hsl(55, 41%, 47%)
CMYK
cmyk(0%, 5%, 58%, 33%)
HSV
hsv(55, 58%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.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: #AAA147;
color: #AAA147;
border-color: #AAA147;
}
Tailwind CSS (with arbitrary values)
bg-[#AAA147]
text-[#AAA147]
border-[#AAA147]
// Example usage:
<div className="bg-[#AAA147]">