Skip to content
Vectorlight.net

#7e8d5e

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

HEX
#7e8d5e
RGB
126, 141, 94
HSL
79.15°, 20%, 46.08%
OKLCH
0.62 0.07 122.81
Names
—
Lists

Codes

FormatValue
HEX#7e8d5e
RGBrgb(126 141 94)
HSLhsl(79.15 20% 46.08%)
OKLCHoklch(0.62 0.07 122.81)
CMYKcmyk(10.64% 0% 33.33% 44.71%)
Android#ff7e8d5e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7e8d5e;
background-color: #7e8d5e;
bg-[#7e8d5e]