Skip to content

#ddf93b

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

RGB
221, 249, 59
HSL
69°, 94%, 60%
CMYK
11, 0, 76, 2
Luminance
0.8344

Every format

HEX#ddf93b
RGBrgb(221, 249, 59)
HSLhsl(69, 94%, 60%)
CMYKcmyk(11%, 0%, 76%, 2%)
LABlab(93.2 -31.4 80.9)
LCHlch(93.2 86.8 111.2)
OKLCHoklch(0.931 0.201 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green97.6%
Blue23.1%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow76.3%
Key (black)2.4%

Color previews

#ddf93b text on a black background

contrast 17.69:1

Card sample

#ddf93b text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 249, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 249, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf93b;
background: linear-gradient(135deg, #ddf93b, #5EF93B);

Monochromatic scale

Palettes built from #ddf93b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf93b in the Color Lab