Skip to content

#ddf154

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

RGB
221, 241, 84
HSL
68°, 85%, 64%
CMYK
8, 0, 65, 6
Luminance
0.7892

Every format

HEX#ddf154
RGBrgb(221, 241, 84)
HSLhsl(68, 85%, 64%)
CMYKcmyk(8%, 0%, 65%, 6%)
LABlab(91.2 -26.4 70.6)
LCHlch(91.2 75.3 110.5)
OKLCHoklch(0.915 0.178 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf154 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ddf154 on black: 16.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.5%
Blue32.9%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow65.1%
Key (black)5.5%

Color previews

#ddf154 text on a black background

contrast 16.78:1

Card sample

#ddf154 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf154

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf154 in the Color Lab