Skip to content

#ddfb8c

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

RGB
221, 251, 140
HSL
76°, 93%, 77%
CMYK
12, 0, 44, 2
Luminance
0.8626

Every format

HEX#ddfb8c
RGBrgb(221, 251, 140)
HSLhsl(76, 93%, 77%)
CMYKcmyk(12%, 0%, 44%, 2%)
LABlab(94.4 -26.5 49.8)
LCHlch(94.4 56.4 118.0)
OKLCHoklch(0.943 0.141 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue54.9%

CMYK percentages

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

Color previews

#ddfb8c text on a black background

contrast 18.25:1

Card sample

#ddfb8c text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb8c in the Color Lab