Skip to content

#ddf008

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

RGB
221, 240, 8
HSL
65°, 94%, 49%
CMYK
8, 0, 97, 6
Luminance
0.7771

Every format

HEX#ddf008
RGBrgb(221, 240, 8)
HSLhsl(65, 94%, 49%)
CMYKcmyk(8%, 0%, 97%, 6%)
LABlab(90.7 -28.3 88.0)
LCHlch(90.7 92.4 107.9)
OKLCHoklch(0.910 0.206 115.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf008 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#ddf008 on black: 16.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.1%
Blue3.1%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow96.7%
Key (black)5.9%

Color previews

#ddf008 text on a black background

contrast 16.54:1

Card sample

#ddf008 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf008

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf008 in the Color Lab