Skip to content

#ddfb98

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

RGB
221, 251, 152
HSL
78°, 93%, 79%
CMYK
12, 0, 39, 2
Luminance
0.8663

Every format

HEX#ddfb98
RGBrgb(221, 251, 152)
HSLhsl(78, 93%, 79%)
CMYKcmyk(12%, 0%, 39%, 2%)
LABlab(94.6 -25.1 44.2)
LCHlch(94.6 50.9 119.6)
OKLCHoklch(0.945 0.128 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green98.4%
Blue59.6%

CMYK percentages

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

Color previews

#ddfb98 text on a black background

contrast 18.33:1

Card sample

#ddfb98 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddfb98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb98 in the Color Lab