Skip to content
Vectorlight.net

#1fc797

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

HEX
#1fc797
RGB
31, 199, 151
HSL
162.86°, 73.04%, 45.1%
OKLCH
0.74 0.15 167.07
Names
—
Lists

Codes

FormatValue
HEX#1fc797
RGBrgb(31 199 151)
HSLhsl(162.86 73.04% 45.1%)
OKLCHoklch(0.74 0.15 167.07)
CMYKcmyk(84.42% 0% 24.12% 21.96%)
Android#ff1fc797

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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