Skip to content

#ecffb8

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

RGB
236, 255, 184
HSL
76°, 100%, 86%
CMYK
8, 0, 28, 0
Luminance
0.9281

Every format

HEX#ecffb8
RGBrgb(236, 255, 184)
HSLhsl(76, 100%, 86%)
CMYKcmyk(8%, 0%, 28%, 0%)
LABlab(97.2 -17.6 31.9)
LCHlch(97.2 36.5 118.9)
OKLCHoklch(0.969 0.093 120.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green100.0%
Blue72.2%

CMYK percentages

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

Color previews

#ecffb8 text on a black background

contrast 19.56:1

Card sample

#ecffb8 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffb8 in the Color Lab