Skip to content

#ddf998

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

RGB
221, 249, 152
HSL
77°, 89%, 79%
CMYK
11, 0, 39, 2
Luminance
0.8539

Every format

HEX#ddf998
RGBrgb(221, 249, 152)
HSLhsl(77, 89%, 79%)
CMYKcmyk(11%, 0%, 39%, 2%)
LABlab(94.0 -24.2 43.5)
LCHlch(94.0 49.8 119.1)
OKLCHoklch(0.940 0.126 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf998 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ddf998 on black: 18.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green97.6%
Blue59.6%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow39.0%
Key (black)2.4%

Color previews

#ddf998 text on a black background

contrast 18.08:1

Card sample

#ddf998 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf998

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf998 in the Color Lab