Skip to content
Vectorlight.net

#affb50

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

HEX
#affb50
RGB
175, 251, 80
HSL
86.67°, 95.53%, 64.9%
OKLCH
0.91 0.21 130.47
Names
—
Lists

Codes

FormatValue
HEX#affb50
RGBrgb(175 251 80)
HSLhsl(86.67 95.53% 64.9%)
OKLCHoklch(0.91 0.21 130.47)
CMYKcmyk(30.28% 0% 68.13% 1.57%)
Android#ffaffb50

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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