Skip to content
Vectorlight.net

#afb249

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

HEX
#afb249
RGB
175, 178, 73
HSL
61.71°, 41.83%, 49.22%
OKLCH
0.74 0.13 110.67
Names
—
Lists

Codes

FormatValue
HEX#afb249
RGBrgb(175 178 73)
HSLhsl(61.71 41.83% 49.22%)
OKLCHoklch(0.74 0.13 110.67)
CMYKcmyk(1.69% 0% 58.99% 30.2%)
Android#ffafb249

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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