#02a017
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 | #02a017 | |
| RGB | rgb(2 160 23) | |
| HSL | hsl(127.97 97.53% 31.76%) | |
| OKLCH | oklch(0.61 0.2 143.34) | |
| CMYK | cmyk(98.75% 0% 85.63% 37.25%) | |
| Android | #ff02a017 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.04: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="#02a017"
Gradient stop
<stop stop-color="#02a017"/>
CSS variable + fill
:root { --c: #02a017; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02a017; background-color: #02a017; bg-[#02a017]