Skip to content
Vectorlight.net

#afa128

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

HEX
#afa128
RGB
175, 161, 40
HSL
53.78°, 62.79%, 42.16%
OKLCH
0.7 0.13 102.42
Names
—
Lists

Codes

FormatValue
HEX#afa128
RGBrgb(175 161 40)
HSLhsl(53.78 62.79% 42.16%)
OKLCHoklch(0.7 0.13 102.42)
CMYKcmyk(0% 8% 77.14% 31.37%)
Android#ffafa128

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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