#21c045
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 | #21c045 | |
| RGB | rgb(33 192 69) | |
| HSL | hsl(133.58 70.67% 44.12%) | |
| OKLCH | oklch(0.71 0.21 145.91) | |
| CMYK | cmyk(82.81% 0% 64.06% 24.71%) | |
| Android | #ff21c045 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.69: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="#21c045"
Gradient stop
<stop stop-color="#21c045"/>
CSS variable + fill
:root { --c: #21c045; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #21c045; background-color: #21c045; bg-[#21c045]