Hex Color #216522 - Custom Color
Color Codes
HEX
#216522
RGB
rgb(33, 101, 34)
HSL
hsl(121, 51%, 26%)
CMYK
cmyk(67%, 0%, 66%, 60%)
HSV
hsv(121, 67%, 40%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.12:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.95: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: #216522;
color: #216522;
border-color: #216522;
}
Tailwind CSS (with arbitrary values)
bg-[#216522]
text-[#216522]
border-[#216522]
// Example usage:
<div className="bg-[#216522]">