Skip to content

#dffb21

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

RGB
223, 251, 33
HSL
68°, 97%, 56%
CMYK
11, 0, 87, 2
Luminance
0.8479

Every format

HEX#dffb21
RGBrgb(223, 251, 33)
HSLhsl(68, 97%, 56%)
CMYKcmyk(11%, 0%, 87%, 2%)
LABlab(93.8 -32.3 87.5)
LCHlch(93.8 93.2 110.3)
OKLCHoklch(0.935 0.212 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffb21 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#dffb21 on black: 17.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green98.4%
Blue12.9%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#dffb21 text on a black background

contrast 17.96:1

Card sample

#dffb21 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffb21 in the Color Lab