Skip to content

#ddf898

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

RGB
221, 248, 152
HSL
77°, 87%, 78%
CMYK
11, 0, 39, 3
Luminance
0.8477

Every format

HEX#ddf898
RGBrgb(221, 248, 152)
HSLhsl(77, 87%, 78%)
CMYKcmyk(11%, 0%, 39%, 3%)
LABlab(93.8 -23.7 43.2)
LCHlch(93.8 49.3 118.8)
OKLCHoklch(0.938 0.124 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf898 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ddf898 on black: 17.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan10.9%
Magenta0.0%
Yellow38.7%
Key (black)2.7%

Color previews

#ddf898 text on a black background

contrast 17.95:1

Card sample

#ddf898 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf898

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf898 in the Color Lab