Skip to content
Vectorlight.net

#aaa802

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

HEX
#aaa802
RGB
170, 168, 2
HSL
59.29°, 97.67%, 33.73%
OKLCH
0.71 0.15 108.89
Names
—
Lists

Codes

FormatValue
HEX#aaa802
RGBrgb(170 168 2)
HSLhsl(59.29 97.67% 33.73%)
OKLCHoklch(0.71 0.15 108.89)
CMYKcmyk(0% 1.18% 98.82% 33.33%)
Android#ffaaa802

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.31: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="#aaa802"
Gradient stop
<stop stop-color="#aaa802"/>
CSS variable + fill
:root { --c: #aaa802; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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