Skip to content
Vectorlight.net

#aaa822

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

HEX
#aaa822
RGB
170, 168, 34
HSL
59.12°, 66.67%, 40%
OKLCH
0.71 0.14 108.66
Names
—
Lists

Codes

FormatValue
HEX#aaa822
RGBrgb(170 168 34)
HSLhsl(59.12 66.67% 40%)
OKLCHoklch(0.71 0.14 108.66)
CMYKcmyk(0% 1.18% 80% 33.33%)
Android#ffaaa822

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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