Skip to content

#ddf396

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

RGB
221, 243, 150
HSL
74°, 80%, 77%
CMYK
9, 0, 38, 5
Luminance
0.8168

Every format

HEX#ddf396
RGBrgb(221, 243, 150)
HSLhsl(74, 80%, 77%)
CMYKcmyk(9%, 0%, 38%, 5%)
LABlab(92.4 -21.6 42.5)
LCHlch(92.4 47.6 116.9)
OKLCHoklch(0.927 0.120 119.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf396 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ddf396 on black: 17.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green95.3%
Blue58.8%

CMYK percentages

Cyan9.1%
Magenta0.0%
Yellow38.3%
Key (black)4.7%

Color previews

#ddf396 text on a black background

contrast 17.34:1

Card sample

#ddf396 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf396

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf396 in the Color Lab