Skip to content

#dffd2d

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

RGB
223, 253, 45
HSL
69°, 98%, 58%
CMYK
12, 0, 82, 1
Luminance
0.8613

Every format

HEX#dffd2d
RGBrgb(223, 253, 45)
HSLhsl(69, 98%, 58%)
CMYKcmyk(12%, 0%, 82%, 1%)
LABlab(94.4 -32.9 85.6)
LCHlch(94.4 91.7 111.0)
OKLCHoklch(0.940 0.210 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffd2d on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#dffd2d on black: 18.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green99.2%
Blue17.6%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow82.2%
Key (black)0.8%

Color previews

#dffd2d text on a black background

contrast 18.23:1

Card sample

#dffd2d text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 253, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 253, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dffd2d;
background: linear-gradient(135deg, #dffd2d, #54FD2D);

Monochromatic scale

Palettes built from #dffd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffd2d in the Color Lab