Skip to content

#d2ef1c

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

RGB
210, 239, 28
HSL
68°, 87%, 52%
CMYK
12, 0, 88, 6
Luminance
0.7552

Every format

HEX#d2ef1c
RGBrgb(210, 239, 28)
HSLhsl(68, 87%, 52%)
CMYKcmyk(12%, 0%, 88%, 6%)
LABlab(89.6 -32.1 84.6)
LCHlch(89.6 90.5 110.8)
OKLCHoklch(0.900 0.205 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ef1c on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#d2ef1c on black: 16.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green93.7%
Blue11.0%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#d2ef1c text on a black background

contrast 16.10:1

Card sample

#d2ef1c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 239, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 239, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2ef1c;
background: linear-gradient(135deg, #d2ef1c, #46EF1C);

Monochromatic scale

Palettes built from #d2ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ef1c in the Color Lab