Skip to content
Vectorlight.net

#797f7b

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

HEX
#797f7b
RGB
121, 127, 123
HSL
140°, 2.42%, 48.63%
OKLCH
0.59 0.01 156.94
Names
—
Lists

Codes

FormatValue
HEX#797f7b
RGBrgb(121 127 123)
HSLhsl(140 2.42% 48.63%)
OKLCHoklch(0.59 0.01 156.94)
CMYKcmyk(4.72% 0% 3.15% 50.2%)
Android#ff797f7b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.13:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#797f7b"
Gradient stop
<stop stop-color="#797f7b"/>
CSS variable + fill
:root { --c: #797f7b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #797f7b;
background-color: #797f7b;
bg-[#797f7b]