Skip to content
Vectorlight.net

#4f882a

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

HEX
#4f882a
RGB
79, 136, 42
HSL
96.38°, 52.81%, 34.9%
OKLCH
0.57 0.14 135.41
Names
—
Lists

Codes

FormatValue
HEX#4f882a
RGBrgb(79 136 42)
HSLhsl(96.38 52.81% 34.9%)
OKLCHoklch(0.57 0.14 135.41)
CMYKcmyk(41.91% 0% 69.12% 46.67%)
Android#ff4f882a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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