Skip to content
Vectorlight.net

#afbe37

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

HEX
#afbe37
RGB
175, 190, 55
HSL
66.67°, 55.1%, 48.04%
OKLCH
0.77 0.15 115.68
Names
—
Lists

Codes

FormatValue
HEX#afbe37
RGBrgb(175 190 55)
HSLhsl(66.67 55.1% 48.04%)
OKLCHoklch(0.77 0.15 115.68)
CMYKcmyk(7.89% 0% 71.05% 25.49%)
Android#ffafbe37

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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