Skip to content

#dcef4f

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

RGB
220, 239, 79
HSL
67°, 83%, 62%
CMYK
8, 0, 67, 6
Luminance
0.7751

Every format

HEX#dcef4f
RGBrgb(220, 239, 79)
HSLhsl(67, 83%, 62%)
CMYKcmyk(8%, 0%, 67%, 6%)
LABlab(90.6 -26.1 71.8)
LCHlch(90.6 76.4 110.0)
OKLCHoklch(0.910 0.179 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green93.7%
Blue31.0%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow66.9%
Key (black)6.3%

Color previews

#dcef4f text on a black background

contrast 16.50:1

Card sample

#dcef4f text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcef4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef4f in the Color Lab