Hex Color #505039 - Custom Color
Color Codes
HEX
#505039
RGB
rgb(80, 80, 57)
HSL
hsl(60, 17%, 27%)
CMYK
cmyk(0%, 0%, 29%, 69%)
HSV
hsv(60, 29%, 31%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 8.24:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.55: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: #505039;
color: #505039;
border-color: #505039;
}
Tailwind CSS (with arbitrary values)
bg-[#505039]
text-[#505039]
border-[#505039]
// Example usage:
<div className="bg-[#505039]">