Skip to content

#dcef6f

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

RGB
220, 239, 111
HSL
69°, 80%, 69%
CMYK
8, 0, 54, 6
Luminance
0.7810

Every format

HEX#dcef6f
RGBrgb(220, 239, 111)
HSLhsl(69, 80%, 69%)
CMYKcmyk(8%, 0%, 54%, 6%)
LABlab(90.8 -23.9 58.9)
LCHlch(90.8 63.5 112.1)
OKLCHoklch(0.913 0.154 116.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green93.7%
Blue43.5%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow53.6%
Key (black)6.3%

Color previews

#dcef6f text on a black background

contrast 16.62:1

Card sample

#dcef6f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcef6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef6f in the Color Lab