Skip to content
Vectorlight.net

#42866e

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

HEX
#42866e
RGB
66, 134, 110
HSL
158.82°, 34%, 39.22%
OKLCH
0.57 0.08 168.15
Names
—
Lists

Codes

FormatValue
HEX#42866e
RGBrgb(66 134 110)
HSLhsl(158.82 34% 39.22%)
OKLCHoklch(0.57 0.08 168.15)
CMYKcmyk(50.75% 0% 17.91% 47.45%)
Android#ff42866e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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