Skip to content

#ddf10b

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

RGB
221, 241, 11
HSL
65°, 91%, 49%
CMYK
8, 0, 95, 6
Luminance
0.7831

Every format

HEX#ddf10b
RGBrgb(221, 241, 11)
HSLhsl(65, 91%, 49%)
CMYKcmyk(8%, 0%, 95%, 6%)
LABlab(90.9 -28.8 87.9)
LCHlch(90.9 92.5 108.1)
OKLCHoklch(0.912 0.207 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf10b on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ddf10b on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.5%
Blue4.3%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow95.4%
Key (black)5.5%

Color previews

#ddf10b text on a black background

contrast 16.66:1

Card sample

#ddf10b text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 241, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 241, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf10b;
background: linear-gradient(135deg, #ddf10b, #44F10B);

Monochromatic scale

Palettes built from #ddf10b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf10b in the Color Lab