Skip to content

#dcefac

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

RGB
220, 239, 172
HSL
77°, 68%, 81%
CMYK
8, 0, 28, 6
Luminance
0.7993

Every format

HEX#dcefac
RGBrgb(220, 239, 172)
HSLhsl(77, 68%, 81%)
CMYKcmyk(8%, 0%, 28%, 6%)
LABlab(91.7 -17.2 30.4)
LCHlch(91.7 34.9 119.5)
OKLCHoklch(0.922 0.089 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green93.7%
Blue67.5%

CMYK percentages

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

Color previews

#dcefac text on a black background

contrast 16.99:1

Card sample

#dcefac text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcefac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcefac in the Color Lab