Skip to content

#ecff5b

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

RGB
236, 255, 91
HSL
67°, 100%, 68%
CMYK
8, 0, 64, 0
Luminance
0.9011

Every format

HEX#ecff5b
RGBrgb(236, 255, 91)
HSLhsl(67, 100%, 68%)
CMYKcmyk(8%, 0%, 64%, 0%)
LABlab(96.0 -26.6 73.2)
LCHlch(96.0 77.9 110.0)
OKLCHoklch(0.957 0.184 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecff5b on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#ecff5b on black: 19.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green100.0%
Blue35.7%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow64.3%
Key (black)0.0%

Color previews

#ecff5b text on a black background

contrast 19.02:1

Card sample

#ecff5b text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 255, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 255, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecff5b;
background: linear-gradient(135deg, #ecff5b, #7EFF5B);

Monochromatic scale

Palettes built from #ecff5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecff5b in the Color Lab