Skip to content
Vectorlight.net

#afd405

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

HEX
#afd405
RGB
175, 212, 5
HSL
70.72°, 95.39%, 42.55%
OKLCH
0.81 0.2 121.52
Names
—
Lists

Codes

FormatValue
HEX#afd405
RGBrgb(175 212 5)
HSLhsl(70.72 95.39% 42.55%)
OKLCHoklch(0.81 0.2 121.52)
CMYKcmyk(17.45% 0% 97.64% 16.86%)
Android#ffafd405

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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