Hex Color #21712A - Custom Color
Color Codes
HEX
#21712A
RGB
rgb(33, 113, 42)
HSL
hsl(127, 55%, 29%)
CMYK
cmyk(71%, 0%, 63%, 56%)
HSV
hsv(127, 71%, 44%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.07:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.46: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: #21712A;
color: #21712A;
border-color: #21712A;
}
Tailwind CSS (with arbitrary values)
bg-[#21712A]
text-[#21712A]
border-[#21712A]
// Example usage:
<div className="bg-[#21712A]">