Skip to content
Vectorlight.net

#afba47

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

HEX
#afba47
RGB
175, 186, 71
HSL
65.74°, 45.45%, 50.39%
OKLCH
0.76 0.14 114.35
Names
—
Lists

Codes

FormatValue
HEX#afba47
RGBrgb(175 186 71)
HSLhsl(65.74 45.45% 50.39%)
OKLCHoklch(0.76 0.14 114.35)
CMYKcmyk(5.91% 0% 61.83% 27.06%)
Android#ffafba47

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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