Skip to content
Vectorlight.net

#796b2a

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

HEX
#796b2a
RGB
121, 107, 42
HSL
49.37°, 48.47%, 31.96%
OKLCH
0.53 0.09 97.15
Names
—
Lists

Codes

FormatValue
HEX#796b2a
RGBrgb(121 107 42)
HSLhsl(49.37 48.47% 31.96%)
OKLCHoklch(0.53 0.09 97.15)
CMYKcmyk(0% 11.57% 65.29% 52.55%)
Android#ff796b2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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