Skip to content

#dcef39

a balanced, electric yellow · cool · closest name: yellow

RGB
220, 239, 57
HSL
66°, 85%, 58%
CMYK
8, 0, 76, 6
Luminance
0.7724

Every format

HEX#dcef39
RGBrgb(220, 239, 57)
HSLhsl(66, 85%, 58%)
CMYKcmyk(8%, 0%, 76%, 6%)
LABlab(90.4 -27.2 78.9)
LCHlch(90.4 83.5 109.0)
OKLCHoklch(0.908 0.192 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcef39 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#dcef39 on black: 16.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green93.7%
Blue22.4%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow76.2%
Key (black)6.3%

Color previews

#dcef39 text on a black background

contrast 16.45:1

Card sample

#dcef39 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcef39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef39 in the Color Lab