Skip to content

#dfde21

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

RGB
223, 222, 33
HSL
60°, 75%, 50%
CMYK
0, 0, 85, 13
Luminance
0.6804

Every format

HEX#dfde21
RGBrgb(223, 222, 33)
HSLhsl(60, 75%, 50%)
CMYKcmyk(0%, 0%, 85%, 13%)
LABlab(86.0 -18.6 81.2)
LCHlch(86.0 83.3 102.9)
OKLCHoklch(0.873 0.184 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfde21 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dfde21 on black: 14.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow85.2%
Key (black)12.5%

Color previews

#dfde21 text on a black background

contrast 14.61:1

Card sample

#dfde21 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfde21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfde21 in the Color Lab