Skip to content

#ddfb05

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

RGB
221, 251, 5
HSL
67°, 97%, 50%
CMYK
12, 0, 98, 2
Luminance
0.8438

Every format

HEX#ddfb05
RGBrgb(221, 251, 5)
HSLhsl(67, 97%, 50%)
CMYKcmyk(12%, 0%, 98%, 2%)
LABlab(93.6 -33.4 90.4)
LCHlch(93.6 96.4 110.3)
OKLCHoklch(0.934 0.217 118.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue2.0%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow98.0%
Key (black)1.6%

Color previews

#ddfb05 text on a black background

contrast 17.88:1

Card sample

#ddfb05 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb05

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb05 in the Color Lab