Skip to content
Vectorlight.net

#42795e

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

HEX
#42795e
RGB
66, 121, 94
HSL
150.55°, 29.41%, 36.67%
OKLCH
0.53 0.07 161.12
Names
—
Lists

Codes

FormatValue
HEX#42795e
RGBrgb(66 121 94)
HSLhsl(150.55 29.41% 36.67%)
OKLCHoklch(0.53 0.07 161.12)
CMYKcmyk(45.45% 0% 22.31% 52.55%)
Android#ff42795e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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