Hex Color #AD9717 - Custom Color
Color Codes
HEX
#AD9717
RGB
rgb(173, 151, 23)
HSL
hsl(51, 77%, 38%)
CMYK
cmyk(0%, 13%, 87%, 32%)
HSV
hsv(51, 87%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.22: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: #AD9717;
color: #AD9717;
border-color: #AD9717;
}
Tailwind CSS (with arbitrary values)
bg-[#AD9717]
text-[#AD9717]
border-[#AD9717]
// Example usage:
<div className="bg-[#AD9717]">