Skip to content
Vectorlight.net

#02af04

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

HEX
#02af04
RGB
2, 175, 4
HSL
120.69°, 97.74%, 34.71%
OKLCH
0.65 0.22 142.56
Names
—
Lists

Codes

FormatValue
HEX#02af04
RGBrgb(2 175 4)
HSLhsl(120.69 97.74% 34.71%)
OKLCHoklch(0.65 0.22 142.56)
CMYKcmyk(98.86% 0% 97.71% 31.37%)
Android#ff02af04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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