Skip to content

#ddf498

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

RGB
221, 244, 152
HSL
75°, 81%, 78%
CMYK
9, 0, 38, 4
Luminance
0.8234

Every format

HEX#ddf498
RGBrgb(221, 244, 152)
HSLhsl(75, 81%, 78%)
CMYKcmyk(9%, 0%, 38%, 4%)
LABlab(92.7 -21.8 41.9)
LCHlch(92.7 47.2 117.5)
OKLCHoklch(0.930 0.119 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf498 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#ddf498 on black: 17.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green95.7%
Blue59.6%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow37.7%
Key (black)4.3%

Color previews

#ddf498 text on a black background

contrast 17.47:1

Card sample

#ddf498 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf498

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf498 in the Color Lab