Skip to content

#dcef4b

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

RGB
220, 239, 75
HSL
67°, 84%, 62%
CMYK
8, 0, 69, 6
Luminance
0.7746

Every format

HEX#dcef4b
RGBrgb(220, 239, 75)
HSLhsl(67, 84%, 62%)
CMYKcmyk(8%, 0%, 69%, 6%)
LABlab(90.5 -26.4 73.2)
LCHlch(90.5 77.8 109.8)
OKLCHoklch(0.909 0.182 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green93.7%
Blue29.4%

CMYK percentages

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

Color previews

#dcef4b text on a black background

contrast 16.49:1

Card sample

#dcef4b text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcef4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcef4b in the Color Lab