Skip to content
Vectorlight.net

#428c2a

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

HEX
#428c2a
RGB
66, 140, 42
HSL
105.31°, 53.85%, 35.69%
OKLCH
0.57 0.15 139.06
Names
—
Lists

Codes

FormatValue
HEX#428c2a
RGBrgb(66 140 42)
HSLhsl(105.31 53.85% 35.69%)
OKLCHoklch(0.57 0.15 139.06)
CMYKcmyk(52.86% 0% 70% 45.1%)
Android#ff428c2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.01:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#428c2a"
Gradient stop
<stop stop-color="#428c2a"/>
CSS variable + fill
:root { --c: #428c2a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #428c2a;
background-color: #428c2a;
bg-[#428c2a]