Skip to content
Vectorlight.net

#97ad1f

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

HEX
#97ad1f
RGB
151, 173, 31
HSL
69.3°, 69.61%, 40%
OKLCH
0.71 0.16 118.75
Names
—
Lists

Codes

FormatValue
HEX#97ad1f
RGBrgb(151 173 31)
HSLhsl(69.3 69.61% 40%)
OKLCHoklch(0.71 0.16 118.75)
CMYKcmyk(12.72% 0% 82.08% 32.16%)
Android#ff97ad1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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