Skip to content
Vectorlight.net

#0cc42e

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

HEX
#0cc42e
RGB
12, 196, 46
HSL
131.09°, 88.46%, 40.78%
OKLCH
0.71 0.23 144.14
Names
—
Lists

Codes

FormatValue
HEX#0cc42e
RGBrgb(12 196 46)
HSLhsl(131.09 88.46% 40.78%)
OKLCHoklch(0.71 0.23 144.14)
CMYKcmyk(93.88% 0% 76.53% 23.14%)
Android#ff0cc42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0cc42e;
background-color: #0cc42e;
bg-[#0cc42e]