Skip to content

#dfecb1

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

RGB
223, 236, 177
HSL
73°, 61%, 81%
CMYK
6, 0, 25, 8
Luminance
0.7885

Every format

HEX#dfecb1
RGBrgb(223, 236, 177)
HSLhsl(73, 61%, 81%)
CMYKcmyk(6%, 0%, 25%, 8%)
LABlab(91.2 -13.9 27.2)
LCHlch(91.2 30.6 117.1)
OKLCHoklch(0.919 0.078 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfecb1 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#dfecb1 on black: 16.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green92.5%
Blue69.4%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow25.0%
Key (black)7.5%

Color previews

#dfecb1 text on a black background

contrast 16.77:1

Card sample

#dfecb1 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfecb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfecb1 in the Color Lab