Skip to content

#d2ee21

a balanced, electric yellow · cool · closest name: yellow

RGB
210, 238, 33
HSL
68°, 86%, 53%
CMYK
12, 0, 86, 7
Luminance
0.7496

Every format

HEX#d2ee21
RGBrgb(210, 238, 33)
HSLhsl(68, 86%, 53%)
CMYKcmyk(12%, 0%, 86%, 7%)
LABlab(89.4 -31.5 83.5)
LCHlch(89.4 89.2 110.7)
OKLCHoklch(0.898 0.203 118.1)

Copy-ready code

/* CSS */
color: #d2ee21;
background-color: #d2ee21;
/* Tailwind (arbitrary) */
class="text-[#d2ee21] bg-[#d2ee21]"
/* SCSS */
$brand: #d2ee21;
/* SwiftUI */
Color(red: 0.824, green: 0.933, blue: 0.129)
/* Android */
Color.parseColor("#d2ee21")

Accessibility — WCAG contrast

Aa
#d2ee21 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#d2ee21 on black: 15.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green93.3%
Blue12.9%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow86.1%
Key (black)6.7%

Color previews

#d2ee21 text on a black background

contrast 15.99:1

Card sample

#d2ee21 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d2ee21;
Background color
Panel with #d2ee21 background
background-color: #d2ee21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d2ee21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(210, 238, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 238, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2ee21;
background: linear-gradient(135deg, #d2ee21, #49EE21);

Monochromatic scale

Palettes built from #d2ee21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ee21 in the Color Lab