Skip to content

#ecfd4e

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

RGB
236, 253, 78
HSL
66°, 98%, 65%
CMYK
7, 0, 69, 1
Luminance
0.8863

Every format

HEX#ecfd4e
RGBrgb(236, 253, 78)
HSLhsl(66, 98%, 65%)
CMYKcmyk(7%, 0%, 69%, 1%)
LABlab(95.4 -26.4 77.4)
LCHlch(95.4 81.8 108.9)
OKLCHoklch(0.952 0.190 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green99.2%
Blue30.6%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow69.2%
Key (black)0.8%

Color previews

#ecfd4e text on a black background

contrast 18.73:1

Card sample

#ecfd4e text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfd4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfd4e in the Color Lab