Skip to content

#dfefab

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

RGB
223, 239, 171
HSL
74°, 68%, 80%
CMYK
7, 0, 29, 6
Luminance
0.8036

Every format

HEX#dfefab
RGBrgb(223, 239, 171)
HSLhsl(74, 68%, 80%)
CMYKcmyk(7%, 0%, 29%, 6%)
LABlab(91.8 -16.3 31.2)
LCHlch(91.8 35.2 117.5)
OKLCHoklch(0.924 0.089 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green93.7%
Blue67.1%

CMYK percentages

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

Color previews

#dfefab text on a black background

contrast 17.07:1

Card sample

#dfefab text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfefab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfefab in the Color Lab