Hex Color #334131 - Custom Color
Color Codes
HEX
#334131
RGB
rgb(51, 65, 49)
HSL
hsl(113, 14%, 22%)
CMYK
cmyk(22%, 0%, 25%, 75%)
HSV
hsv(113, 25%, 25%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 10.82:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.94: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: #334131;
color: #334131;
border-color: #334131;
}
Tailwind CSS (with arbitrary values)
bg-[#334131]
text-[#334131]
border-[#334131]
// Example usage:
<div className="bg-[#334131]">