Skip to content

#dcecab

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

RGB
220, 236, 171
HSL
75°, 63%, 80%
CMYK
7, 0, 28, 8
Luminance
0.7815

Every format

HEX#dcecab
RGBrgb(220, 236, 171)
HSLhsl(75, 63%, 80%)
CMYKcmyk(7%, 0%, 28%, 8%)
LABlab(90.8 -15.9 29.8)
LCHlch(90.8 33.8 118.0)
OKLCHoklch(0.915 0.086 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green92.5%
Blue67.1%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow27.5%
Key (black)7.5%

Color previews

#dcecab text on a black background

contrast 16.63:1

Card sample

#dcecab text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcecab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcecab in the Color Lab