Skip to content

#ddf821

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

RGB
221, 248, 33
HSL
68°, 94%, 55%
CMYK
11, 0, 87, 3
Luminance
0.8262

Every format

HEX#ddf821
RGBrgb(221, 248, 33)
HSLhsl(68, 94%, 55%)
CMYKcmyk(11%, 0%, 87%, 3%)
LABlab(92.8 -31.7 86.7)
LCHlch(92.8 92.3 110.1)
OKLCHoklch(0.927 0.209 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf821 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ddf821 on black: 17.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green97.3%
Blue12.9%

CMYK percentages

Cyan10.9%
Magenta0.0%
Yellow86.7%
Key (black)2.7%

Color previews

#ddf821 text on a black background

contrast 17.52:1

Card sample

#ddf821 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf821 in the Color Lab