Skip to content
Vectorlight.net

#786e2f

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

HEX
#786e2f
RGB
120, 110, 47
HSL
51.78°, 43.71%, 32.75%
OKLCH
0.53 0.08 100.38
Names
—
Lists

Codes

FormatValue
HEX#786e2f
RGBrgb(120 110 47)
HSLhsl(51.78 43.71% 32.75%)
OKLCHoklch(0.53 0.08 100.38)
CMYKcmyk(0% 8.33% 60.83% 52.94%)
Android#ff786e2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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