#059c2d
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 | #059c2d | |
| RGB | rgb(5 156 45) | |
| HSL | hsl(135.89 93.79% 31.57%) | |
| OKLCH | oklch(0.6 0.19 145.33) | |
| CMYK | cmyk(96.79% 0% 71.15% 38.82%) | |
| Android | #ff059c2d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.79: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="#059c2d"
Gradient stop
<stop stop-color="#059c2d"/>
CSS variable + fill
:root { --c: #059c2d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #059c2d; background-color: #059c2d; bg-[#059c2d]