Skip to content
Vectorlight.net

#42917e

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

HEX
#42917e
RGB
66, 145, 126
HSL
165.57°, 37.44%, 41.37%
OKLCH
0.6 0.08 175.31
Names
—
Lists

Codes

FormatValue
HEX#42917e
RGBrgb(66 145 126)
HSLhsl(165.57 37.44% 41.37%)
OKLCHoklch(0.6 0.08 175.31)
CMYKcmyk(54.48% 0% 13.1% 43.14%)
Android#ff42917e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42917e;
background-color: #42917e;
bg-[#42917e]