Skip to content

#ddf189

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

RGB
221, 241, 137
HSL
72°, 79%, 74%
CMYK
8, 0, 43, 6
Luminance
0.8009

Every format

HEX#ddf189
RGBrgb(221, 241, 137)
HSLhsl(72, 79%, 74%)
CMYKcmyk(8%, 0%, 43%, 6%)
LABlab(91.7 -22.0 47.9)
LCHlch(91.7 52.7 114.7)
OKLCHoklch(0.921 0.131 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf189 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ddf189 on black: 17.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.5%
Blue53.7%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow43.2%
Key (black)5.5%

Color previews

#ddf189 text on a black background

contrast 17.02:1

Card sample

#ddf189 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 241, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 241, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf189;
background: linear-gradient(135deg, #ddf189, #98F189);

Monochromatic scale

Palettes built from #ddf189

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf189 in the Color Lab