Skip to content
Vectorlight.net

#1f796f

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

HEX
#1f796f
RGB
31, 121, 111
HSL
173.33°, 59.21%, 29.8%
OKLCH
0.52 0.08 184.09
Names
—
Lists

Codes

FormatValue
HEX#1f796f
RGBrgb(31 121 111)
HSLhsl(173.33 59.21% 29.8%)
OKLCHoklch(0.52 0.08 184.09)
CMYKcmyk(74.38% 0% 8.26% 52.55%)
Android#ff1f796f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1f796f;
background-color: #1f796f;
bg-[#1f796f]