Skip to content
Vectorlight.net

#affd48

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

HEX
#affd48
RGB
175, 253, 72
HSL
85.86°, 97.84%, 63.73%
OKLCH
0.91 0.22 130.31
Names
—
Lists

Codes

FormatValue
HEX#affd48
RGBrgb(175 253 72)
HSLhsl(85.86 97.84% 63.73%)
OKLCHoklch(0.91 0.22 130.31)
CMYKcmyk(30.83% 0% 71.54% 0.78%)
Android#ffaffd48

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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