Skip to content
Vectorlight.net

#affb5c

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

HEX
#affb5c
RGB
175, 251, 92
HSL
88.68°, 95.21%, 67.25%
OKLCH
0.91 0.2 131.21
Names
—
Lists

Codes

FormatValue
HEX#affb5c
RGBrgb(175 251 92)
HSLhsl(88.68 95.21% 67.25%)
OKLCHoklch(0.91 0.2 131.21)
CMYKcmyk(30.28% 0% 63.35% 1.57%)
Android#ffaffb5c

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.77: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="#affb5c"
Gradient stop
<stop stop-color="#affb5c"/>
CSS variable + fill
:root { --c: #affb5c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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