Skip to content
Vectorlight.net

#42822e

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

HEX
#42822e
RGB
66, 130, 46
HSL
105.71°, 47.73%, 34.51%
OKLCH
0.54 0.14 139
Names
—
Lists

Codes

FormatValue
HEX#42822e
RGBrgb(66 130 46)
HSLhsl(105.71 47.73% 34.51%)
OKLCHoklch(0.54 0.14 139)
CMYKcmyk(49.23% 0% 64.62% 49.02%)
Android#ff42822e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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