Skip to content
Vectorlight.net

#42da48

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

HEX
#42da48
RGB
66, 218, 72
HSL
122.37°, 67.26%, 55.69%
OKLCH
0.78 0.23 143.54
Names
—
Lists

Codes

FormatValue
HEX#42da48
RGBrgb(66 218 72)
HSLhsl(122.37 67.26% 55.69%)
OKLCHoklch(0.78 0.23 143.54)
CMYKcmyk(69.72% 0% 66.97% 14.51%)
Android#ff42da48

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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