Skip to content
Vectorlight.net

#afda1f

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

HEX
#afda1f
RGB
175, 218, 31
HSL
73.8°, 75.1%, 48.82%
OKLCH
0.83 0.2 123.13
Names
—
Lists

Codes

FormatValue
HEX#afda1f
RGBrgb(175 218 31)
HSLhsl(73.8 75.1% 48.82%)
OKLCHoklch(0.83 0.2 123.13)
CMYKcmyk(19.72% 0% 85.78% 14.51%)
Android#ffafda1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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