Skip to content

#dcef2c

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

RGB
220, 239, 44
HSL
66°, 86%, 56%
CMYK
8, 0, 82, 6
Luminance
0.7713

Every format

HEX#dcef2c
RGBrgb(220, 239, 44)
HSLhsl(66, 86%, 56%)
CMYKcmyk(8%, 0%, 82%, 6%)
LABlab(90.4 -27.6 82.3)
LCHlch(90.4 86.8 108.6)
OKLCHoklch(0.908 0.197 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green93.7%
Blue17.3%

CMYK percentages

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

Color previews

#dcef2c text on a black background

contrast 16.43:1

Card sample

#dcef2c text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcef2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef2c in the Color Lab