Skip to content

#ddfb18

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

RGB
221, 251, 24
HSL
68°, 97%, 54%
CMYK
12, 0, 90, 2
Luminance
0.8443

Every format

HEX#ddfb18
RGBrgb(221, 251, 24)
HSLhsl(68, 97%, 54%)
CMYKcmyk(12%, 0%, 90%, 2%)
LABlab(93.6 -33.2 88.7)
LCHlch(93.6 94.7 110.5)
OKLCHoklch(0.934 0.214 118.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue9.4%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow90.4%
Key (black)1.6%

Color previews

#ddfb18 text on a black background

contrast 17.89:1

Card sample

#ddfb18 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb18

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb18 in the Color Lab