Skip to content
Vectorlight.net

#989e2b

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

HEX
#989e2b
RGB
152, 158, 43
HSL
63.13°, 57.21%, 39.41%
OKLCH
0.67 0.13 112.47
Names
—
Lists

Codes

FormatValue
HEX#989e2b
RGBrgb(152 158 43)
HSLhsl(63.13 57.21% 39.41%)
OKLCHoklch(0.67 0.13 112.47)
CMYKcmyk(3.8% 0% 72.78% 38.04%)
Android#ff989e2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #989e2b;
background-color: #989e2b;
bg-[#989e2b]