Skip to content

#ddfd42

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

RGB
221, 253, 66
HSL
70°, 98%, 63%
CMYK
13, 0, 74, 1
Luminance
0.8602

Every format

HEX#ddfd42
RGBrgb(221, 253, 66)
HSLhsl(70, 98%, 63%)
CMYKcmyk(13%, 0%, 74%, 1%)
LABlab(94.3 -32.9 79.9)
LCHlch(94.3 86.4 112.4)
OKLCHoklch(0.940 0.202 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddfd42 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#ddfd42 on black: 18.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green99.2%
Blue25.9%

CMYK percentages

Cyan12.6%
Magenta0.0%
Yellow73.9%
Key (black)0.8%

Color previews

#ddfd42 text on a black background

contrast 18.20:1

Card sample

#ddfd42 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfd42

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfd42 in the Color Lab