Skip to content

#dcec6e

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

RGB
220, 236, 110
HSL
68°, 77%, 68%
CMYK
7, 0, 53, 8
Luminance
0.7633

Every format

HEX#dcec6e
RGBrgb(220, 236, 110)
HSLhsl(68, 77%, 68%)
CMYKcmyk(7%, 0%, 53%, 8%)
LABlab(90.0 -22.6 58.4)
LCHlch(90.0 62.6 111.1)
OKLCHoklch(0.906 0.151 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcec6e on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#dcec6e on black: 16.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green92.5%
Blue43.1%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow53.4%
Key (black)7.5%

Color previews

#dcec6e text on a black background

contrast 16.27:1

Card sample

#dcec6e text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcec6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcec6e in the Color Lab