Hex Color #AF890F - Custom Color
Color Codes
HEX
#AF890F
RGB
rgb(175, 137, 15)
HSL
hsl(46, 84%, 37%)
CMYK
cmyk(0%, 22%, 91%, 31%)
HSV
hsv(46, 91%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.41: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: #AF890F;
color: #AF890F;
border-color: #AF890F;
}
Tailwind CSS (with arbitrary values)
bg-[#AF890F]
text-[#AF890F]
border-[#AF890F]
// Example usage:
<div className="bg-[#AF890F]">