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