Skip to content
Vectorlight.net

#aab21e

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

HEX
#aab21e
RGB
170, 178, 30
HSL
63.24°, 71.15%, 40.78%
OKLCH
0.73 0.16 113
Names
—
Lists

Codes

FormatValue
HEX#aab21e
RGBrgb(170 178 30)
HSLhsl(63.24 71.15% 40.78%)
OKLCHoklch(0.73 0.16 113)
CMYKcmyk(4.49% 0% 83.15% 30.2%)
Android#ffaab21e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #aab21e;
background-color: #aab21e;
bg-[#aab21e]