Skip to content

#dffeb2

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

RGB
223, 254, 178
HSL
85°, 97%, 85%
CMYK
12, 0, 30, 0
Luminance
0.8979

Every format

HEX#dffeb2
RGBrgb(223, 254, 178)
HSLhsl(85, 97%, 85%)
CMYKcmyk(12%, 0%, 30%, 0%)
LABlab(95.9 -22.6 33.1)
LCHlch(95.9 40.1 124.3)
OKLCHoklch(0.957 0.103 126.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffeb2 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#dffeb2 on black: 18.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green99.6%
Blue69.8%

CMYK percentages

Cyan12.2%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#dffeb2 text on a black background

contrast 18.96:1

Card sample

#dffeb2 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffeb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffeb2 in the Color Lab