Skip to content
Vectorlight.net

#42920c

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

HEX
#42920c
RGB
66, 146, 12
HSL
95.82°, 84.81%, 30.98%
OKLCH
0.59 0.17 137.13
Names
—
Lists

Codes

FormatValue
HEX#42920c
RGBrgb(66 146 12)
HSLhsl(95.82 84.81% 30.98%)
OKLCHoklch(0.59 0.17 137.13)
CMYKcmyk(54.79% 0% 91.78% 42.75%)
Android#ff42920c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #42920c;
background-color: #42920c;
bg-[#42920c]