Skip to content
Vectorlight.net

#42d545

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

HEX
#42d545
RGB
66, 213, 69
HSL
121.22°, 63.64%, 54.71%
OKLCH
0.77 0.22 143.3
Names
—
Lists

Codes

FormatValue
HEX#42d545
RGBrgb(66 213 69)
HSLhsl(121.22 63.64% 54.71%)
OKLCHoklch(0.77 0.22 143.3)
CMYKcmyk(69.01% 0% 67.61% 16.47%)
Android#ff42d545

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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