Skip to content

#ddf908

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

RGB
221, 249, 8
HSL
67°, 95%, 50%
CMYK
11, 0, 97, 2
Luminance
0.8314

Every format

HEX#ddf908
RGBrgb(221, 249, 8)
HSLhsl(67, 95%, 50%)
CMYKcmyk(11%, 0%, 97%, 2%)
LABlab(93.1 -32.5 89.8)
LCHlch(93.1 95.5 109.9)
OKLCHoklch(0.929 0.215 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green97.6%
Blue3.1%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow96.8%
Key (black)2.4%

Color previews

#ddf908 text on a black background

contrast 17.63:1

Card sample

#ddf908 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf908

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf908 in the Color Lab