Skip to content
Vectorlight.net

#428212

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

HEX
#428212
RGB
66, 130, 18
HSL
94.29°, 75.68%, 29.02%
OKLCH
0.54 0.15 135.82
Names
—
Lists

Codes

FormatValue
HEX#428212
RGBrgb(66 130 18)
HSLhsl(94.29 75.68% 29.02%)
OKLCHoklch(0.54 0.15 135.82)
CMYKcmyk(49.23% 0% 86.15% 49.02%)
Android#ff428212

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

Recolor an SVG with this color

CSS

color / background
color: #428212;
background-color: #428212;
bg-[#428212]