#21cf46
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 | #21cf46 | |
| RGB | rgb(33 207 70) | |
| HSL | hsl(132.76 72.5% 47.06%) | |
| OKLCH | oklch(0.75 0.22 145.47) | |
| CMYK | cmyk(84.06% 0% 66.18% 18.82%) | |
| Android | #ff21cf46 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.07: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="#21cf46"
Gradient stop
<stop stop-color="#21cf46"/>
CSS variable + fill
:root { --c: #21cf46; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #21cf46; background-color: #21cf46; bg-[#21cf46]