Skip to content

#dffc15

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

RGB
223, 252, 21
HSL
68°, 98%, 54%
CMYK
12, 0, 92, 1
Luminance
0.8536

Every format

HEX#dffc15
RGBrgb(223, 252, 21)
HSLhsl(68, 98%, 54%)
CMYKcmyk(12%, 0%, 92%, 1%)
LABlab(94.0 -32.9 89.4)
LCHlch(94.0 95.3 110.2)
OKLCHoklch(0.937 0.215 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green98.8%
Blue8.2%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow91.7%
Key (black)1.2%

Color previews

#dffc15 text on a black background

contrast 18.07:1

Card sample

#dffc15 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffc15

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffc15 in the Color Lab