Skip to content
Vectorlight.net

#afbe5b

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

HEX
#afbe5b
RGB
175, 190, 91
HSL
69.09°, 43.23%, 55.1%
OKLCH
0.77 0.13 116.58
Names
—
Lists

Codes

FormatValue
HEX#afbe5b
RGBrgb(175 190 91)
HSLhsl(69.09 43.23% 55.1%)
OKLCHoklch(0.77 0.13 116.58)
CMYKcmyk(7.89% 0% 52.11% 25.49%)
Android#ffafbe5b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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