Skip to content
Vectorlight.net

#42704d

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

HEX
#42704d
RGB
66, 112, 77
HSL
134.35°, 25.84%, 34.9%
OKLCH
0.5 0.08 150.59
Names
—
Lists

Codes

FormatValue
HEX#42704d
RGBrgb(66 112 77)
HSLhsl(134.35 25.84% 34.9%)
OKLCHoklch(0.5 0.08 150.59)
CMYKcmyk(41.07% 0% 31.25% 56.08%)
Android#ff42704d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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