Skip to content

#ecfd90

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

RGB
236, 253, 144
HSL
69°, 97%, 78%
CMYK
7, 0, 43, 1
Luminance
0.9010

Every format

HEX#ecfd90
RGBrgb(236, 253, 144)
HSLhsl(69, 97%, 78%)
CMYKcmyk(7%, 0%, 43%, 1%)
LABlab(96.0 -21.4 50.1)
LCHlch(96.0 54.5 113.1)
OKLCHoklch(0.958 0.135 116.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green99.2%
Blue56.5%

CMYK percentages

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

Color previews

#ecfd90 text on a black background

contrast 19.02:1

Card sample

#ecfd90 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfd90

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfd90 in the Color Lab