Skip to content
Vectorlight.net

#afba37

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

HEX
#afba37
RGB
175, 186, 55
HSL
65.04°, 54.36%, 47.25%
OKLCH
0.76 0.15 114.17
Names
—
Lists

Codes

FormatValue
HEX#afba37
RGBrgb(175 186 55)
HSLhsl(65.04 54.36% 47.25%)
OKLCHoklch(0.76 0.15 114.17)
CMYKcmyk(5.91% 0% 70.43% 27.06%)
Android#ffafba37

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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