Skip to content

#dfefac

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

RGB
223, 239, 172
HSL
74°, 68%, 81%
CMYK
7, 0, 28, 6
Luminance
0.8040

Every format

HEX#dfefac
RGBrgb(223, 239, 172)
HSLhsl(74, 68%, 81%)
CMYKcmyk(7%, 0%, 28%, 6%)
LABlab(91.9 -16.1 30.7)
LCHlch(91.9 34.7 117.7)
OKLCHoklch(0.924 0.088 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dfefac text on a black background

contrast 17.08:1

Card sample

#dfefac text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfefac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfefac in the Color Lab