Skip to content
Vectorlight.net

#aaa240

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

HEX
#aaa240
RGB
170, 162, 64
HSL
55.47°, 45.3%, 45.88%
OKLCH
0.7 0.12 104.64
Names
—
Lists

Codes

FormatValue
HEX#aaa240
RGBrgb(170 162 64)
HSLhsl(55.47 45.3% 45.88%)
OKLCHoklch(0.7 0.12 104.64)
CMYKcmyk(0% 4.71% 62.35% 33.33%)
Android#ffaaa240

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

Recolor an SVG with this color

CSS

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