Hex Color #5F520E - Custom Color
Color Codes
HEX
#5F520E
RGB
rgb(95, 82, 14)
HSL
hsl(50, 74%, 21%)
CMYK
cmyk(0%, 14%, 85%, 63%)
HSV
hsv(50, 85%, 37%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.78:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.70:1
Fail - 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: #5F520E;
color: #5F520E;
border-color: #5F520E;
}
Tailwind CSS (with arbitrary values)
bg-[#5F520E]
text-[#5F520E]
border-[#5F520E]
// Example usage:
<div className="bg-[#5F520E]">