Skip to content
Vectorlight.net

#4e873a

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

HEX
#4e873a
RGB
78, 135, 58
HSL
104.42°, 39.9%, 37.84%
OKLCH
0.57 0.13 138.28
Names
—
Lists

Codes

FormatValue
HEX#4e873a
RGBrgb(78 135 58)
HSLhsl(104.42 39.9% 37.84%)
OKLCHoklch(0.57 0.13 138.28)
CMYKcmyk(42.22% 0% 57.04% 47.06%)
Android#ff4e873a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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