Skip to content
Vectorlight.net

#afd833

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

HEX
#afd833
RGB
175, 216, 51
HSL
74.91°, 67.9%, 52.35%
OKLCH
0.82 0.19 123.12
Names
—
Lists

Codes

FormatValue
HEX#afd833
RGBrgb(175 216 51)
HSLhsl(74.91 67.9% 52.35%)
OKLCHoklch(0.82 0.19 123.12)
CMYKcmyk(18.98% 0% 76.39% 15.29%)
Android#ffafd833

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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