Skip to content
Vectorlight.net

#42712e

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

HEX
#42712e
RGB
66, 113, 46
HSL
102.09°, 42.14%, 31.18%
OKLCH
0.5 0.11 137.35
Names
—
Lists

Codes

FormatValue
HEX#42712e
RGBrgb(66 113 46)
HSLhsl(102.09 42.14% 31.18%)
OKLCHoklch(0.5 0.11 137.35)
CMYKcmyk(41.59% 0% 59.29% 55.69%)
Android#ff42712e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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