#217f22
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #217f22 | |
| RGB | rgb(33 127 34) | |
| HSL | hsl(120.64 58.75% 31.37%) | |
| OKLCH | oklch(0.52 0.15 143.09) | |
| CMYK | cmyk(74.02% 0% 73.23% 50.2%) | |
| Android | #ff217f22 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.12:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#217f22"
Gradient stop
<stop stop-color="#217f22"/>
CSS variable + fill
:root { --c: #217f22; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #217f22; background-color: #217f22; bg-[#217f22]