Skip to content
Vectorlight.net

#4c842e

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

HEX
#4c842e
RGB
76, 132, 46
HSL
99.07°, 48.31%, 34.9%
OKLCH
0.56 0.13 136.36
Names
—
Lists

Codes

FormatValue
HEX#4c842e
RGBrgb(76 132 46)
HSLhsl(99.07 48.31% 34.9%)
OKLCHoklch(0.56 0.13 136.36)
CMYKcmyk(42.42% 0% 65.15% 48.24%)
Android#ff4c842e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4c842e;
background-color: #4c842e;
bg-[#4c842e]