Skip to content
Vectorlight.net

#97cf31

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

HEX
#97cf31
RGB
151, 207, 49
HSL
81.27°, 62.2%, 50.2%
OKLCH
0.79 0.19 127.77
Names
—
Lists

Codes

FormatValue
HEX#97cf31
RGBrgb(151 207 49)
HSLhsl(81.27 62.2% 50.2%)
OKLCHoklch(0.79 0.19 127.77)
CMYKcmyk(27.05% 0% 76.33% 18.82%)
Android#ff97cf31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #97cf31;
background-color: #97cf31;
bg-[#97cf31]