Skip to content

#dfefb2

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

RGB
223, 239, 178
HSL
76°, 66%, 82%
CMYK
7, 0, 26, 6
Luminance
0.8064

Every format

HEX#dfefb2
RGBrgb(223, 239, 178)
HSLhsl(76, 66%, 82%)
CMYKcmyk(7%, 0%, 26%, 6%)
LABlab(92.0 -15.3 27.8)
LCHlch(92.0 31.7 118.8)
OKLCHoklch(0.925 0.081 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green93.7%
Blue69.8%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow25.5%
Key (black)6.3%

Color previews

#dfefb2 text on a black background

contrast 17.13:1

Card sample

#dfefb2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfefb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfefb2 in the Color Lab