Skip to content
Vectorlight.net

#42813d

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

HEX
#42813d
RGB
66, 129, 61
HSL
115.59°, 35.79%, 37.25%
OKLCH
0.54 0.12 142.3
Names
—
Lists

Codes

FormatValue
HEX#42813d
RGBrgb(66 129 61)
HSLhsl(115.59 35.79% 37.25%)
OKLCHoklch(0.54 0.12 142.3)
CMYKcmyk(48.84% 0% 52.71% 49.41%)
Android#ff42813d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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