Skip to content
Vectorlight.net

#a2aa2a

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

HEX
#a2aa2a
RGB
162, 170, 42
HSL
63.75°, 60.38%, 41.57%
OKLCH
0.71 0.14 113.17
Names
—
Lists

Codes

FormatValue
HEX#a2aa2a
RGBrgb(162 170 42)
HSLhsl(63.75 60.38% 41.57%)
OKLCHoklch(0.71 0.14 113.17)
CMYKcmyk(4.71% 0% 75.29% 33.33%)
Android#ffa2aa2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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