Skip to content
Vectorlight.net

#797226

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

HEX
#797226
RGB
121, 114, 38
HSL
54.94°, 52.2%, 31.18%
OKLCH
0.54 0.1 104.04
Names
—
Lists

Codes

FormatValue
HEX#797226
RGBrgb(121 114 38)
HSLhsl(54.94 52.2% 31.18%)
OKLCHoklch(0.54 0.1 104.04)
CMYKcmyk(0% 5.79% 68.6% 52.55%)
Android#ff797226

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #797226;
background-color: #797226;
bg-[#797226]