Skip to content
Vectorlight.net

#d2ed12

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

HEX
#d2ed12
RGB
210, 237, 18
HSL
67.4°, 85.88%, 50%
OKLCH
0.9 0.21 117.81
Names
—
Lists

Codes

FormatValue
HEX#d2ed12
RGBrgb(210 237 18)
HSLhsl(67.4 85.88% 50%)
OKLCHoklch(0.9 0.21 117.81)
CMYKcmyk(11.39% 0% 92.41% 7.06%)
Android#ffd2ed12

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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