Skip to content

#ddfeb2

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

RGB
221, 254, 178
HSL
86°, 97%, 85%
CMYK
13, 0, 30, 0
Luminance
0.8947

Every format

HEX#ddfeb2
RGBrgb(221, 254, 178)
HSLhsl(86, 97%, 85%)
CMYKcmyk(13%, 0%, 30%, 0%)
LABlab(95.8 -23.3 32.9)
LCHlch(95.8 40.3 125.3)
OKLCHoklch(0.955 0.104 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddfeb2 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#ddfeb2 on black: 18.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green99.6%
Blue69.8%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#ddfeb2 text on a black background

contrast 18.89:1

Card sample

#ddfeb2 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 254, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 254, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddfeb2;
background: linear-gradient(135deg, #ddfeb2, #B2FEBA);

Monochromatic scale

Palettes built from #ddfeb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfeb2 in the Color Lab