Skip to content
Vectorlight.net

#42d786

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

HEX
#42d786
RGB
66, 215, 134
HSL
147.38°, 65.07%, 55.1%
OKLCH
0.78 0.17 154.9
Names
—
Lists

Codes

FormatValue
HEX#42d786
RGBrgb(66 215 134)
HSLhsl(147.38 65.07% 55.1%)
OKLCHoklch(0.78 0.17 154.9)
CMYKcmyk(69.3% 0% 37.67% 15.69%)
Android#ff42d786

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42d786;
background-color: #42d786;
bg-[#42d786]