Skip to content
Vectorlight.net

#afa22f

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

HEX
#afa22f
RGB
175, 162, 47
HSL
53.91°, 57.66%, 43.53%
OKLCH
0.7 0.13 102.71
Names
—
Lists

Codes

FormatValue
HEX#afa22f
RGBrgb(175 162 47)
HSLhsl(53.91 57.66% 43.53%)
OKLCHoklch(0.7 0.13 102.71)
CMYKcmyk(0% 7.43% 73.14% 31.37%)
Android#ffafa22f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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