Skip to content
Vectorlight.net

#a5aa42

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

HEX
#a5aa42
RGB
165, 170, 66
HSL
62.88°, 44.07%, 46.27%
OKLCH
0.71 0.13 111.79
Names
—
Lists

Codes

FormatValue
HEX#a5aa42
RGBrgb(165 170 66)
HSLhsl(62.88 44.07% 46.27%)
OKLCHoklch(0.71 0.13 111.79)
CMYKcmyk(2.94% 0% 61.18% 33.33%)
Android#ffa5aa42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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