Skip to content

#ddfb97

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

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

Every format

HEX#ddfb97
RGBrgb(221, 251, 151)
HSLhsl(78, 93%, 79%)
CMYKcmyk(12%, 0%, 40%, 2%)
LABlab(94.6 -25.3 44.7)
LCHlch(94.6 51.4 119.5)
OKLCHoklch(0.944 0.130 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue59.2%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow39.8%
Key (black)1.6%

Color previews

#ddfb97 text on a black background

contrast 18.32:1

Card sample

#ddfb97 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb97 in the Color Lab