#02771c
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 | #02771c | |
| RGB | rgb(2 119 28) | |
| HSL | hsl(133.33 96.69% 23.73%) | |
| OKLCH | oklch(0.49 0.16 144.75) | |
| CMYK | cmyk(98.32% 0% 76.47% 53.33%) | |
| Android | #ff02771c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.65:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#02771c"
Gradient stop
<stop stop-color="#02771c"/>
CSS variable + fill
:root { --c: #02771c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #02771c; background-color: #02771c; bg-[#02771c]