Skip to content
Vectorlight.net

#787f4e

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

HEX
#787f4e
RGB
120, 127, 78
HSL
68.57°, 23.9%, 40.2%
OKLCH
0.58 0.07 115.26
Names
—
Lists

Codes

FormatValue
HEX#787f4e
RGBrgb(120 127 78)
HSLhsl(68.57 23.9% 40.2%)
OKLCHoklch(0.58 0.07 115.26)
CMYKcmyk(5.51% 0% 38.58% 50.2%)
Android#ff787f4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #787f4e;
background-color: #787f4e;
bg-[#787f4e]