Hex Color #A1981F - Custom Color
Color Codes
HEX
#A1981F
RGB
rgb(161, 152, 31)
HSL
hsl(56, 68%, 38%)
CMYK
cmyk(0%, 6%, 81%, 37%)
HSV
hsv(56, 81%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.03: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: #A1981F;
color: #A1981F;
border-color: #A1981F;
}
Tailwind CSS (with arbitrary values)
bg-[#A1981F]
text-[#A1981F]
border-[#A1981F]
// Example usage:
<div className="bg-[#A1981F]">