Skip to content
Vectorlight.net

#a8a42d

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

HEX
#a8a42d
RGB
168, 164, 45
HSL
58.05°, 57.75%, 41.76%
OKLCH
0.7 0.14 107.47
Names
—
Lists

Codes

FormatValue
HEX#a8a42d
RGBrgb(168 164 45)
HSLhsl(58.05 57.75% 41.76%)
OKLCHoklch(0.7 0.14 107.47)
CMYKcmyk(0% 2.38% 73.21% 34.12%)
Android#ffa8a42d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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