Hex Color #AF8757 - Custom Color
Color Codes
HEX
#AF8757
RGB
rgb(175, 135, 87)
HSL
hsl(33, 35%, 51%)
CMYK
cmyk(0%, 23%, 50%, 31%)
HSV
hsv(33, 50%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.27:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.43: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: #AF8757;
color: #AF8757;
border-color: #AF8757;
}
Tailwind CSS (with arbitrary values)
bg-[#AF8757]
text-[#AF8757]
border-[#AF8757]
// Example usage:
<div className="bg-[#AF8757]">