#21cb2e
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 | #21cb2e | |
| RGB | rgb(33 203 46) | |
| HSL | hsl(124.59 72.03% 46.27%) | |
| OKLCH | oklch(0.73 0.23 143.42) | |
| CMYK | cmyk(83.74% 0% 77.34% 20.39%) | |
| Android | #ff21cb2e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.17:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.64:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#21cb2e"
Gradient stop
<stop stop-color="#21cb2e"/>
CSS variable + fill
:root { --c: #21cb2e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #21cb2e; background-color: #21cb2e; bg-[#21cb2e]