Skip to content

#dff4b2

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

RGB
223, 244, 178
HSL
79°, 75%, 83%
CMYK
9, 0, 27, 4
Luminance
0.8360

Every format

HEX#dff4b2
RGBrgb(223, 244, 178)
HSLhsl(79, 75%, 83%)
CMYKcmyk(9%, 0%, 27%, 4%)
LABlab(93.3 -17.7 29.6)
LCHlch(93.3 34.5 120.9)
OKLCHoklch(0.936 0.088 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff4b2 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#dff4b2 on black: 17.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green95.7%
Blue69.8%

CMYK percentages

Cyan8.6%
Magenta0.0%
Yellow27.0%
Key (black)4.3%

Color previews

#dff4b2 text on a black background

contrast 17.72:1

Card sample

#dff4b2 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 244, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 244, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dff4b2;
background: linear-gradient(135deg, #dff4b2, #B3F4B2);

Monochromatic scale

Palettes built from #dff4b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff4b2 in the Color Lab