Skip to content

#dffc40

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

RGB
223, 252, 64
HSL
69°, 97%, 62%
CMYK
12, 0, 75, 1
Luminance
0.8568

Every format

HEX#dffc40
RGBrgb(223, 252, 64)
HSLhsl(69, 97%, 62%)
CMYKcmyk(12%, 0%, 75%, 1%)
LABlab(94.2 -31.8 80.4)
LCHlch(94.2 86.4 111.6)
OKLCHoklch(0.939 0.201 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffc40 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#dffc40 on black: 18.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green98.8%
Blue25.1%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow74.6%
Key (black)1.2%

Color previews

#dffc40 text on a black background

contrast 18.14:1

Card sample

#dffc40 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 252, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 252, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dffc40;
background: linear-gradient(135deg, #dffc40, #62FC40);

Monochromatic scale

Palettes built from #dffc40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffc40 in the Color Lab