Skip to content
Vectorlight.net

#afaf82

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

HEX
#afaf82
RGB
175, 175, 130
HSL
60°, 21.95%, 59.8%
OKLCH
0.74 0.06 107.8
Names
—
Lists

Codes

FormatValue
HEX#afaf82
RGBrgb(175 175 130)
HSLhsl(60 21.95% 59.8%)
OKLCHoklch(0.74 0.06 107.8)
CMYKcmyk(0% 0% 25.71% 31.37%)
Android#ffafaf82

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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