Skip to content
Vectorlight.net

#afbb40

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

HEX
#afbb40
RGB
175, 187, 64
HSL
65.85°, 49%, 49.22%
OKLCH
0.76 0.15 114.66
Names
—
Lists

Codes

FormatValue
HEX#afbb40
RGBrgb(175 187 64)
HSLhsl(65.85 49% 49.22%)
OKLCHoklch(0.76 0.15 114.66)
CMYKcmyk(6.42% 0% 65.78% 26.67%)
Android#ffafbb40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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