Skip to content
Vectorlight.net

#42be40

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

HEX
#42be40
RGB
66, 190, 64
HSL
119.05°, 49.61%, 49.8%
OKLCH
0.71 0.2 142.9
Names
—
Lists

Codes

FormatValue
HEX#42be40
RGBrgb(66 190 64)
HSLhsl(119.05 49.61% 49.8%)
OKLCHoklch(0.71 0.2 142.9)
CMYKcmyk(65.26% 0% 66.32% 25.49%)
Android#ff42be40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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