Skip to content
Vectorlight.net

#afa523

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

HEX
#afa523
RGB
175, 165, 35
HSL
55.71°, 66.67%, 41.18%
OKLCH
0.71 0.14 104.77
Names
—
Lists

Codes

FormatValue
HEX#afa523
RGBrgb(175 165 35)
HSLhsl(55.71 66.67% 41.18%)
OKLCHoklch(0.71 0.14 104.77)
CMYKcmyk(0% 5.71% 80% 31.37%)
Android#ffafa523

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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