Skip to content
Vectorlight.net

#aaaa31

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

HEX
#aaaa31
RGB
170, 170, 49
HSL
60°, 55.25%, 42.94%
OKLCH
0.72 0.14 109.44
Names
—
Lists

Codes

FormatValue
HEX#aaaa31
RGBrgb(170 170 49)
HSLhsl(60 55.25% 42.94%)
OKLCHoklch(0.72 0.14 109.44)
CMYKcmyk(0% 0% 71.18% 33.33%)
Android#ffaaaa31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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