Skip to content

#ecff9b

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

RGB
236, 255, 155
HSL
71°, 100%, 80%
CMYK
8, 0, 39, 0
Luminance
0.9172

Every format

HEX#ecff9b
RGBrgb(236, 255, 155)
HSLhsl(71, 100%, 80%)
CMYKcmyk(8%, 0%, 39%, 0%)
LABlab(96.7 -21.2 45.7)
LCHlch(96.7 50.4 114.9)
OKLCHoklch(0.964 0.126 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecff9b on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#ecff9b on black: 19.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green100.0%
Blue60.8%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow39.2%
Key (black)0.0%

Color previews

#ecff9b text on a black background

contrast 19.34:1

Card sample

#ecff9b text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecff9b in the Color Lab