Skip to content

#dffd2f

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

RGB
223, 253, 47
HSL
69°, 98%, 59%
CMYK
12, 0, 81, 1
Luminance
0.8614

Every format

HEX#dffd2f
RGBrgb(223, 253, 47)
HSLhsl(69, 98%, 59%)
CMYKcmyk(12%, 0%, 81%, 1%)
LABlab(94.4 -32.8 85.1)
LCHlch(94.4 91.2 111.1)
OKLCHoklch(0.940 0.209 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green99.2%
Blue18.4%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#dffd2f text on a black background

contrast 18.23:1

Card sample

#dffd2f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffd2f in the Color Lab