Skip to content
Vectorlight.net

#02a412

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

HEX
#02a412
RGB
2, 164, 18
HSL
125.93°, 97.59%, 32.55%
OKLCH
0.62 0.21 143.04
Names
—
Lists

Codes

FormatValue
HEX#02a412
RGBrgb(2 164 18)
HSLhsl(125.93 97.59% 32.55%)
OKLCHoklch(0.62 0.21 143.04)
CMYKcmyk(98.78% 0% 89.02% 35.69%)
Android#ff02a412

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.32:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.32: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="#02a412"
Gradient stop
<stop stop-color="#02a412"/>
CSS variable + fill
:root { --c: #02a412; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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