Skip to content

#ecffba

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

RGB
236, 255, 186
HSL
77°, 100%, 87%
CMYK
8, 0, 27, 0
Luminance
0.9290

Every format

HEX#ecffba
RGBrgb(236, 255, 186)
HSLhsl(77, 100%, 87%)
CMYKcmyk(8%, 0%, 27%, 0%)
LABlab(97.2 -17.3 31.0)
LCHlch(97.2 35.5 119.2)
OKLCHoklch(0.970 0.091 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green100.0%
Blue72.9%

CMYK percentages

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

Color previews

#ecffba text on a black background

contrast 19.58:1

Card sample

#ecffba text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffba in the Color Lab