Skip to content
Vectorlight.net

#42796d

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

HEX
#42796d
RGB
66, 121, 109
HSL
166.91°, 29.41%, 36.67%
OKLCH
0.53 0.06 178.06
Names
—
Lists

Codes

FormatValue
HEX#42796d
RGBrgb(66 121 109)
HSLhsl(166.91 29.41% 36.67%)
OKLCHoklch(0.53 0.06 178.06)
CMYKcmyk(45.45% 0% 9.92% 52.55%)
Android#ff42796d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.18:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#42796d"
Gradient stop
<stop stop-color="#42796d"/>
CSS variable + fill
:root { --c: #42796d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #42796d;
background-color: #42796d;
bg-[#42796d]