Skip to content
Vectorlight.net

#42ac71

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

HEX
#42ac71
RGB
66, 172, 113
HSL
146.6°, 44.54%, 46.67%
OKLCH
0.67 0.13 155.66
Names
—
Lists

Codes

FormatValue
HEX#42ac71
RGBrgb(66 172 113)
HSLhsl(146.6 44.54% 46.67%)
OKLCHoklch(0.67 0.13 155.66)
CMYKcmyk(61.63% 0% 34.3% 32.55%)
Android#ff42ac71

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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