Skip to content

#ddfb48

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

RGB
221, 251, 72
HSL
70°, 96%, 63%
CMYK
12, 0, 71, 2
Luminance
0.8483

Every format

HEX#ddfb48
RGBrgb(221, 251, 72)
HSLhsl(70, 96%, 63%)
CMYKcmyk(12%, 0%, 71%, 2%)
LABlab(93.8 -31.7 77.5)
LCHlch(93.8 83.7 112.3)
OKLCHoklch(0.936 0.196 118.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue28.2%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow71.3%
Key (black)1.6%

Color previews

#ddfb48 text on a black background

contrast 17.97:1

Card sample

#ddfb48 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb48 in the Color Lab