Skip to content

#ecfd2f

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

RGB
236, 253, 47
HSL
65°, 98%, 59%
CMYK
7, 0, 81, 1
Luminance
0.8829

Every format

HEX#ecfd2f
RGBrgb(236, 253, 47)
HSLhsl(65, 98%, 59%)
CMYKcmyk(7%, 0%, 81%, 1%)
LABlab(95.3 -27.6 86.3)
LCHlch(95.3 90.6 107.8)
OKLCHoklch(0.950 0.205 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfd2f on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ecfd2f on black: 18.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green99.2%
Blue18.4%

CMYK percentages

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

Color previews

#ecfd2f text on a black background

contrast 18.66:1

Card sample

#ecfd2f text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfd2f in the Color Lab