Skip to content
Vectorlight.net

#796b2e

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

HEX
#796b2e
RGB
121, 107, 46
HSL
48.8°, 44.91%, 32.75%
OKLCH
0.53 0.08 96.5
Names
—
Lists

Codes

FormatValue
HEX#796b2e
RGBrgb(121 107 46)
HSLhsl(48.8 44.91% 32.75%)
OKLCHoklch(0.53 0.08 96.5)
CMYKcmyk(0% 11.57% 61.98% 52.55%)
Android#ff796b2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #796b2e;
background-color: #796b2e;
bg-[#796b2e]