Skip to content

#ecffb2

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

RGB
236, 255, 178
HSL
75°, 100%, 85%
CMYK
8, 0, 30, 0
Luminance
0.9257

Every format

HEX#ecffb2
RGBrgb(236, 255, 178)
HSLhsl(75, 100%, 85%)
CMYKcmyk(8%, 0%, 30%, 0%)
LABlab(97.0 -18.4 34.8)
LCHlch(97.0 39.4 117.9)
OKLCHoklch(0.968 0.100 119.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecffb2 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#ecffb2 on black: 19.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green100.0%
Blue69.8%

CMYK percentages

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

Color previews

#ecffb2 text on a black background

contrast 19.51:1

Card sample

#ecffb2 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffb2 in the Color Lab