Skip to content
Vectorlight.net

#a2af71

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

HEX
#a2af71
RGB
162, 175, 113
HSL
72.58°, 27.93%, 56.47%
OKLCH
0.73 0.09 118.21
Names
—
Lists

Codes

FormatValue
HEX#a2af71
RGBrgb(162 175 113)
HSLhsl(72.58 27.93% 56.47%)
OKLCHoklch(0.73 0.09 118.21)
CMYKcmyk(7.43% 0% 35.43% 31.37%)
Android#ffa2af71

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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