Skip to content
Vectorlight.net

#aaa318

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

HEX
#aaa318
RGB
170, 163, 24
HSL
57.12°, 75.26%, 38.04%
OKLCH
0.7 0.14 106.37
Names
—
Lists

Codes

FormatValue
HEX#aaa318
RGBrgb(170 163 24)
HSLhsl(57.12 75.26% 38.04%)
OKLCHoklch(0.7 0.14 106.37)
CMYKcmyk(0% 4.12% 85.88% 33.33%)
Android#ffaaa318

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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