Skip to content
Vectorlight.net

#afaf5f

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

HEX
#afaf5f
RGB
175, 175, 95
HSL
60°, 33.33%, 52.94%
OKLCH
0.74 0.1 108.68
Names
—
Lists

Codes

FormatValue
HEX#afaf5f
RGBrgb(175 175 95)
HSLhsl(60 33.33% 52.94%)
OKLCHoklch(0.74 0.1 108.68)
CMYKcmyk(0% 0% 45.71% 31.37%)
Android#ffafaf5f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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