Skip to content
Vectorlight.net

#42c745

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

HEX
#42c745
RGB
66, 199, 69
HSL
121.35°, 54.29%, 51.96%
OKLCH
0.73 0.21 143.42
Names
—
Lists

Codes

FormatValue
HEX#42c745
RGBrgb(66 199 69)
HSLhsl(121.35 54.29% 51.96%)
OKLCHoklch(0.73 0.21 143.42)
CMYKcmyk(66.83% 0% 65.33% 21.96%)
Android#ff42c745

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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