Skip to content
Vectorlight.net

#afa23b

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

HEX
#afa23b
RGB
175, 162, 59
HSL
53.28°, 49.57%, 45.88%
OKLCH
0.7 0.12 102.08
Names
—
Lists

Codes

FormatValue
HEX#afa23b
RGBrgb(175 162 59)
HSLhsl(53.28 49.57% 45.88%)
OKLCHoklch(0.7 0.12 102.08)
CMYKcmyk(0% 7.43% 66.29% 31.37%)
Android#ffafa23b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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