Skip to content
Vectorlight.net

#98ba2b

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

HEX
#98ba2b
RGB
152, 186, 43
HSL
74.27°, 62.45%, 44.9%
OKLCH
0.74 0.17 122.59
Names
—
Lists

Codes

FormatValue
HEX#98ba2b
RGBrgb(152 186 43)
HSLhsl(74.27 62.45% 44.9%)
OKLCHoklch(0.74 0.17 122.59)
CMYKcmyk(18.28% 0% 76.88% 27.06%)
Android#ff98ba2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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