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