Skip to content
Vectorlight.net

#786b5e

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

HEX
#786b5e
RGB
120, 107, 94
HSL
30°, 12.15%, 41.96%
OKLCH
0.54 0.03 67.23
Names
—
Lists

Codes

FormatValue
HEX#786b5e
RGBrgb(120 107 94)
HSLhsl(30 12.15% 41.96%)
OKLCHoklch(0.54 0.03 67.23)
CMYKcmyk(0% 10.83% 21.67% 52.94%)
Android#ff786b5e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #786b5e;
background-color: #786b5e;
bg-[#786b5e]