Skip to content
Vectorlight.net

#42c604

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

HEX
#42c604
RGB
66, 198, 4
HSL
100.82°, 96.04%, 39.61%
OKLCH
0.73 0.23 139.68
Names
—
Lists

Codes

FormatValue
HEX#42c604
RGBrgb(66 198 4)
HSLhsl(100.82 96.04% 39.61%)
OKLCHoklch(0.73 0.23 139.68)
CMYKcmyk(66.67% 0% 97.98% 22.35%)
Android#ff42c604

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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