#217e2f
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 | #217e2f | |
| RGB | rgb(33 126 47) | |
| HSL | hsl(129.03 58.49% 31.18%) | |
| OKLCH | oklch(0.52 0.14 145.43) | |
| CMYK | cmyk(73.81% 0% 62.7% 50.59%) | |
| Android | #ff217e2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.09: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="#217e2f"
Gradient stop
<stop stop-color="#217e2f"/>
CSS variable + fill
:root { --c: #217e2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #217e2f; background-color: #217e2f; bg-[#217e2f]