Skip to content
Vectorlight.net

#786f5b

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

HEX
#786f5b
RGB
120, 111, 91
HSL
41.38°, 13.74%, 41.37%
OKLCH
0.54 0.03 86.64
Names
—
Lists

Codes

FormatValue
HEX#786f5b
RGBrgb(120 111 91)
HSLhsl(41.38 13.74% 41.37%)
OKLCHoklch(0.54 0.03 86.64)
CMYKcmyk(0% 7.5% 24.17% 52.94%)
Android#ff786f5b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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