Hex Color #336141 - Custom Color
Color Codes
HEX
#336141
RGB
rgb(51, 97, 65)
HSL
hsl(138, 31%, 29%)
CMYK
cmyk(47%, 0%, 33%, 62%)
HSV
hsv(138, 47%, 38%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.17:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.93: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: #336141;
color: #336141;
border-color: #336141;
}
Tailwind CSS (with arbitrary values)
bg-[#336141]
text-[#336141]
border-[#336141]
// Example usage:
<div className="bg-[#336141]">