Skip to content

#ecffbf

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

RGB
236, 255, 191
HSL
78°, 100%, 88%
CMYK
8, 0, 25, 0
Luminance
0.9311

Every format

HEX#ecffbf
RGBrgb(236, 255, 191)
HSLhsl(78, 100%, 88%)
CMYKcmyk(8%, 0%, 25%, 0%)
LABlab(97.3 -16.6 28.6)
LCHlch(97.3 33.1 120.2)
OKLCHoklch(0.971 0.085 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecffbf on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#ecffbf on black: 19.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green100.0%
Blue74.9%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow25.1%
Key (black)0.0%

Color previews

#ecffbf text on a black background

contrast 19.62:1

Card sample

#ecffbf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffbf in the Color Lab