Skip to content
Vectorlight.net

#9ba12e

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

HEX
#9ba12e
RGB
155, 161, 46
HSL
63.13°, 55.56%, 40.59%
OKLCH
0.68 0.13 112.42
Names
—
Lists

Codes

FormatValue
HEX#9ba12e
RGBrgb(155 161 46)
HSLhsl(63.13 55.56% 40.59%)
OKLCHoklch(0.68 0.13 112.42)
CMYKcmyk(3.73% 0% 71.43% 36.86%)
Android#ff9ba12e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9ba12e;
background-color: #9ba12e;
bg-[#9ba12e]