Skip to content
Vectorlight.net

#aaa81f

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

HEX
#aaa81f
RGB
170, 168, 31
HSL
59.14°, 69.15%, 39.41%
OKLCH
0.71 0.15 108.7
Names
—
Lists

Codes

FormatValue
HEX#aaa81f
RGBrgb(170 168 31)
HSLhsl(59.14 69.15% 39.41%)
OKLCHoklch(0.71 0.15 108.7)
CMYKcmyk(0% 1.18% 81.76% 33.33%)
Android#ffaaa81f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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