Skip to content
Vectorlight.net

#4e6c1f

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

HEX
#4e6c1f
RGB
78, 108, 31
HSL
83.38°, 55.4%, 27.25%
OKLCH
0.49 0.11 128.29
Names
—
Lists

Codes

FormatValue
HEX#4e6c1f
RGBrgb(78 108 31)
HSLhsl(83.38 55.4% 27.25%)
OKLCHoklch(0.49 0.11 128.29)
CMYKcmyk(27.78% 0% 71.3% 57.65%)
Android#ff4e6c1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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