Skip to content
Vectorlight.net

#afa77c

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

HEX
#afa77c
RGB
175, 167, 124
HSL
50.59°, 24.17%, 58.63%
OKLCH
0.72 0.06 98.81
Names
—
Lists

Codes

FormatValue
HEX#afa77c
RGBrgb(175 167 124)
HSLhsl(50.59 24.17% 58.63%)
OKLCHoklch(0.72 0.06 98.81)
CMYKcmyk(0% 4.57% 29.14% 31.37%)
Android#ffafa77c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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