Skip to content

#d2df1d

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

RGB
210, 223, 29
HSL
64°, 77%, 49%
CMYK
6, 0, 87, 13
Luminance
0.6657

Every format

HEX#d2df1d
RGBrgb(210, 223, 29)
HSLhsl(64, 77%, 49%)
CMYKcmyk(6%, 0%, 87%, 13%)
LABlab(85.3 -24.5 80.9)
LCHlch(85.3 84.5 106.9)
OKLCHoklch(0.865 0.189 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2df1d on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#d2df1d on black: 14.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green87.5%
Blue11.4%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow87.0%
Key (black)12.5%

Color previews

#d2df1d text on a black background

contrast 14.31:1

Card sample

#d2df1d text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 223, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 223, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2df1d;
background: linear-gradient(135deg, #d2df1d, #51DF1D);

Monochromatic scale

Palettes built from #d2df1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2df1d in the Color Lab