Hex Color #AF6C1A - Custom Color
Color Codes
HEX
#AF6C1A
RGB
rgb(175, 108, 26)
HSL
hsl(33, 74%, 39%)
CMYK
cmyk(0%, 38%, 85%, 31%)
HSV
hsv(33, 85%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.21:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.98: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: #AF6C1A;
color: #AF6C1A;
border-color: #AF6C1A;
}
Tailwind CSS (with arbitrary values)
bg-[#AF6C1A]
text-[#AF6C1A]
border-[#AF6C1A]
// Example usage:
<div className="bg-[#AF6C1A]">