Skip to content

#dcef7f

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

RGB
220, 239, 127
HSL
70°, 78%, 72%
CMYK
8, 0, 47, 6
Luminance
0.7848

Every format

HEX#dcef7f
RGBrgb(220, 239, 127)
HSLhsl(70, 78%, 72%)
CMYKcmyk(8%, 0%, 47%, 6%)
LABlab(91.0 -22.5 51.7)
LCHlch(91.0 56.4 113.5)
OKLCHoklch(0.915 0.139 117.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcef7f on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#dcef7f on black: 16.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green93.7%
Blue49.8%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow46.9%
Key (black)6.3%

Color previews

#dcef7f text on a black background

contrast 16.70:1

Card sample

#dcef7f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 239, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 239, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcef7f;
background: linear-gradient(135deg, #dcef7f, #91EF7F);

Monochromatic scale

Palettes built from #dcef7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef7f in the Color Lab