Skip to content

#d2e11e

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

RGB
210, 225, 30
HSL
65°, 77%, 50%
CMYK
7, 0, 87, 12
Luminance
0.6765

Every format

HEX#d2e11e
RGBrgb(210, 225, 30)
HSLhsl(65, 77%, 50%)
CMYKcmyk(7%, 0%, 87%, 12%)
LABlab(85.8 -25.5 81.2)
LCHlch(85.8 85.1 107.4)
OKLCHoklch(0.869 0.191 114.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2e11e on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#d2e11e on black: 14.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green88.2%
Blue11.8%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow86.7%
Key (black)11.8%

Color previews

#d2e11e text on a black background

contrast 14.53:1

Card sample

#d2e11e text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 225, 30, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 225, 30, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2e11e;
background: linear-gradient(135deg, #d2e11e, #50E11E);

Monochromatic scale

Palettes built from #d2e11e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2e11e in the Color Lab