Skip to content

#ecfd0f

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

RGB
236, 253, 15
HSL
64°, 98%, 53%
CMYK
7, 0, 94, 1
Luminance
0.8812

Every format

HEX#ecfd0f
RGBrgb(236, 253, 15)
HSLhsl(64, 98%, 53%)
CMYKcmyk(7%, 0%, 94%, 1%)
LABlab(95.2 -28.2 91.3)
LCHlch(95.2 95.6 107.2)
OKLCHoklch(0.949 0.213 114.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green99.2%
Blue5.9%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow94.1%
Key (black)0.8%

Color previews

#ecfd0f text on a black background

contrast 18.62:1

Card sample

#ecfd0f text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfd0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfd0f in the Color Lab