Skip to content
Vectorlight.net

#02a21e

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#02a21e
RGB
2, 162, 30
HSL
130.5°, 97.56%, 32.16%
OKLCH
0.62 0.2 143.77
Names
—
Lists

Codes

FormatValue
HEX#02a21e
RGBrgb(2 162 30)
HSLhsl(130.5 97.56% 32.16%)
OKLCHoklch(0.62 0.2 143.77)
CMYKcmyk(98.77% 0% 81.48% 36.47%)
Android#ff02a21e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.39:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.18:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#02a21e"
Gradient stop
<stop stop-color="#02a21e"/>
CSS variable + fill
:root { --c: #02a21e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #02a21e;
background-color: #02a21e;
bg-[#02a21e]