Skip to content
Vectorlight.net

#02ab0a

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

HEX
#02ab0a
RGB
2, 171, 10
HSL
122.84°, 97.69%, 33.92%
OKLCH
0.64 0.22 142.72
Names
—
Lists

Codes

FormatValue
HEX#02ab0a
RGBrgb(2 171 10)
HSLhsl(122.84 97.69% 33.92%)
OKLCHoklch(0.64 0.22 142.72)
CMYKcmyk(98.83% 0% 94.15% 32.94%)
Android#ff02ab0a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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