Skip to content

#ddfb96

a light, electric green · cool · closest name: khaki

RGB
221, 251, 150
HSL
78°, 93%, 79%
CMYK
12, 0, 40, 2
Luminance
0.8657

Every format

HEX#ddfb96
RGBrgb(221, 251, 150)
HSLhsl(78, 93%, 79%)
CMYKcmyk(12%, 0%, 40%, 2%)
LABlab(94.5 -25.4 45.2)
LCHlch(94.5 51.8 119.3)
OKLCHoklch(0.944 0.131 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue58.8%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow40.2%
Key (black)1.6%

Color previews

#ddfb96 text on a black background

contrast 18.31:1

Card sample

#ddfb96 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb96

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb96 in the Color Lab