Skip to content

#dcef5f

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

RGB
220, 239, 95
HSL
68°, 82%, 66%
CMYK
8, 0, 60, 6
Luminance
0.7777

Every format

HEX#dcef5f
RGBrgb(220, 239, 95)
HSLhsl(68, 82%, 66%)
CMYKcmyk(8%, 0%, 60%, 6%)
LABlab(90.7 -25.1 65.6)
LCHlch(90.7 70.3 111.0)
OKLCHoklch(0.911 0.168 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcef5f on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#dcef5f on black: 16.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green93.7%
Blue37.3%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow60.3%
Key (black)6.3%

Color previews

#dcef5f text on a black background

contrast 16.55:1

Card sample

#dcef5f text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcef5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef5f in the Color Lab