Skip to content

#d2ee2f

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

RGB
210, 238, 47
HSL
69°, 85%, 56%
CMYK
12, 0, 80, 7
Luminance
0.7506

Every format

HEX#d2ee2f
RGBrgb(210, 238, 47)
HSLhsl(69, 85%, 56%)
CMYKcmyk(12%, 0%, 80%, 7%)
LABlab(89.4 -31.1 80.5)
LCHlch(89.4 86.3 111.1)
OKLCHoklch(0.898 0.198 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green93.3%
Blue18.4%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow80.3%
Key (black)6.7%

Color previews

#d2ee2f text on a black background

contrast 16.01:1

Card sample

#d2ee2f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ee2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ee2f in the Color Lab