Skip to content
Vectorlight.net

#d2f52a

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

HEX
#d2f52a
RGB
210, 245, 42
HSL
70.34°, 91.03%, 56.27%
OKLCH
0.91 0.21 119.9
Names
—
Lists

Codes

FormatValue
HEX#d2f52a
RGBrgb(210 245 42)
HSLhsl(70.34 91.03% 56.27%)
OKLCHoklch(0.91 0.21 119.9)
CMYKcmyk(14.29% 0% 82.86% 3.92%)
Android#ffd2f52a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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