Skip to content
Vectorlight.net

#afaf2e

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

HEX
#afaf2e
RGB
175, 175, 46
HSL
60°, 58.37%, 43.33%
OKLCH
0.73 0.14 109.49
Names
—
Lists

Codes

FormatValue
HEX#afaf2e
RGBrgb(175 175 46)
HSLhsl(60 58.37% 43.33%)
OKLCHoklch(0.73 0.14 109.49)
CMYKcmyk(0% 0% 73.71% 31.37%)
Android#ffafaf2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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