#2da222
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 | #2da222 | |
| RGB | rgb(45 162 34) | |
| HSL | hsl(114.84 65.31% 38.43%) | |
| OKLCH | oklch(0.62 0.19 141.91) | |
| CMYK | cmyk(72.22% 0% 79.01% 36.47%) | |
| Android | #ff2da222 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.30: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="#2da222"
Gradient stop
<stop stop-color="#2da222"/>
CSS variable + fill
:root { --c: #2da222; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2da222; background-color: #2da222; bg-[#2da222]