Skip to content

#ddfb39

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

RGB
221, 251, 57
HSL
69°, 96%, 60%
CMYK
12, 0, 77, 2
Luminance
0.8466

Every format

HEX#ddfb39
RGBrgb(221, 251, 57)
HSLhsl(69, 96%, 60%)
CMYKcmyk(12%, 0%, 77%, 2%)
LABlab(93.7 -32.4 82.0)
LCHlch(93.7 88.1 111.5)
OKLCHoklch(0.935 0.204 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue22.4%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow77.3%
Key (black)1.6%

Color previews

#ddfb39 text on a black background

contrast 17.93:1

Card sample

#ddfb39 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb39 in the Color Lab