Skip to content
Vectorlight.net

#98ab2f

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

HEX
#98ab2f
RGB
152, 171, 47
HSL
69.19°, 56.88%, 42.75%
OKLCH
0.7 0.15 117.97
Names
—
Lists

Codes

FormatValue
HEX#98ab2f
RGBrgb(152 171 47)
HSLhsl(69.19 56.88% 42.75%)
OKLCHoklch(0.7 0.15 117.97)
CMYKcmyk(11.11% 0% 72.51% 32.94%)
Android#ff98ab2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #98ab2f;
background-color: #98ab2f;
bg-[#98ab2f]