Skip to content
Vectorlight.net

#afbb2a

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

HEX
#afbb2a
RGB
175, 187, 42
HSL
64.97°, 63.32%, 44.9%
OKLCH
0.76 0.16 114.46
Names
—
Lists

Codes

FormatValue
HEX#afbb2a
RGBrgb(175 187 42)
HSLhsl(64.97 63.32% 44.9%)
OKLCHoklch(0.76 0.16 114.46)
CMYKcmyk(6.42% 0% 77.54% 26.67%)
Android#ffafbb2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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