Skip to content

#ecfd50

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

RGB
236, 253, 80
HSL
66°, 98%, 65%
CMYK
7, 0, 68, 1
Luminance
0.8866

Every format

HEX#ecfd50
RGBrgb(236, 253, 80)
HSLhsl(66, 98%, 65%)
CMYKcmyk(7%, 0%, 68%, 1%)
LABlab(95.4 -26.3 76.7)
LCHlch(95.4 81.1 108.9)
OKLCHoklch(0.952 0.189 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfd50 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#ecfd50 on black: 18.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green99.2%
Blue31.4%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow68.4%
Key (black)0.8%

Color previews

#ecfd50 text on a black background

contrast 18.73:1

Card sample

#ecfd50 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 253, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 253, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecfd50;
background: linear-gradient(135deg, #ecfd50, #79FD50);

Monochromatic scale

Palettes built from #ecfd50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfd50 in the Color Lab