Skip to content
Vectorlight.net

#12cd42

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

HEX
#12cd42
RGB
18, 205, 66
HSL
135.4°, 83.86%, 43.73%
OKLCH
0.74 0.22 145.57
Names
—
Lists

Codes

FormatValue
HEX#12cd42
RGBrgb(18 205 66)
HSLhsl(135.4 83.86% 43.73%)
OKLCHoklch(0.74 0.22 145.57)
CMYKcmyk(91.22% 0% 67.8% 19.61%)
Android#ff12cd42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12cd42;
background-color: #12cd42;
bg-[#12cd42]