Skip to content
Vectorlight.net

#afbe22

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

HEX
#afbe22
RGB
175, 190, 34
HSL
65.77°, 69.64%, 43.92%
OKLCH
0.76 0.17 115.47
Names
—
Lists

Codes

FormatValue
HEX#afbe22
RGBrgb(175 190 34)
HSLhsl(65.77 69.64% 43.92%)
OKLCHoklch(0.76 0.17 115.47)
CMYKcmyk(7.89% 0% 82.11% 25.49%)
Android#ffafbe22

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.21: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="#afbe22"
Gradient stop
<stop stop-color="#afbe22"/>
CSS variable + fill
:root { --c: #afbe22; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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