Skip to content

#dfef9f

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

RGB
223, 239, 159
HSL
72°, 71%, 78%
CMYK
7, 0, 34, 6
Luminance
0.7992

Every format

HEX#dfef9f
RGBrgb(223, 239, 159)
HSLhsl(72, 71%, 78%)
CMYKcmyk(7%, 0%, 34%, 6%)
LABlab(91.7 -17.8 37.0)
LCHlch(91.7 41.1 115.7)
OKLCHoklch(0.922 0.104 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfef9f on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#dfef9f on black: 16.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green93.7%
Blue62.4%

CMYK percentages

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

Color previews

#dfef9f text on a black background

contrast 16.98:1

Card sample

#dfef9f text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfef9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfef9f in the Color Lab