Skip to content

#ddf438

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

RGB
221, 244, 56
HSL
67°, 90%, 59%
CMYK
9, 0, 77, 4
Luminance
0.8036

Every format

HEX#ddf438
RGBrgb(221, 244, 56)
HSLhsl(67, 90%, 59%)
CMYKcmyk(9%, 0%, 77%, 4%)
LABlab(91.8 -29.2 80.5)
LCHlch(91.8 85.7 109.9)
OKLCHoklch(0.920 0.197 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf438 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ddf438 on black: 17.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green95.7%
Blue22.0%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow77.0%
Key (black)4.3%

Color previews

#ddf438 text on a black background

contrast 17.07:1

Card sample

#ddf438 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf438

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf438 in the Color Lab