Skip to content
Vectorlight.net

#aaa308

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

HEX
#aaa308
RGB
170, 163, 8
HSL
57.41°, 91.01%, 34.9%
OKLCH
0.7 0.15 106.54
Names
—
Lists

Codes

FormatValue
HEX#aaa308
RGBrgb(170 163 8)
HSLhsl(57.41 91.01% 34.9%)
OKLCHoklch(0.7 0.15 106.54)
CMYKcmyk(0% 4.12% 95.29% 33.33%)
Android#ffaaa308

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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