Skip to content
Vectorlight.net

#42797a

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

HEX
#42797a
RGB
66, 121, 122
HSL
181.07°, 29.79%, 36.86%
OKLCH
0.54 0.06 197.09
Names
—
Lists

Codes

FormatValue
HEX#42797a
RGBrgb(66 121 122)
HSLhsl(181.07 29.79% 36.86%)
OKLCHoklch(0.54 0.06 197.09)
CMYKcmyk(45.9% 0.82% 0% 52.16%)
Android#ff42797a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42797a;
background-color: #42797a;
bg-[#42797a]