Skip to content
Vectorlight.net

#02c31f

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

HEX
#02c31f
RGB
2, 195, 31
HSL
129.02°, 97.97%, 38.63%
OKLCH
0.71 0.23 143.39
Names
—
Lists

Codes

FormatValue
HEX#02c31f
RGBrgb(2 195 31)
HSLhsl(129.02 97.97% 38.63%)
OKLCHoklch(0.71 0.23 143.39)
CMYKcmyk(98.97% 0% 84.1% 23.53%)
Android#ff02c31f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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