Skip to content

#dff921

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

RGB
223, 249, 33
HSL
67°, 95%, 55%
CMYK
10, 0, 87, 2
Luminance
0.8355

Every format

HEX#dff921
RGBrgb(223, 249, 33)
HSLhsl(67, 95%, 55%)
CMYKcmyk(10%, 0%, 87%, 2%)
LABlab(93.3 -31.4 87.0)
LCHlch(93.3 92.5 109.8)
OKLCHoklch(0.931 0.210 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff921 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#dff921 on black: 17.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green97.6%
Blue12.9%

CMYK percentages

Cyan10.4%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#dff921 text on a black background

contrast 17.71:1

Card sample

#dff921 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 249, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 249, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dff921;
background: linear-gradient(135deg, #dff921, #4FF921);

Monochromatic scale

Palettes built from #dff921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff921 in the Color Lab