Skip to content

#ecffb0

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

RGB
236, 255, 176
HSL
74°, 100%, 85%
CMYK
8, 0, 31, 0
Luminance
0.9249

Every format

HEX#ecffb0
RGBrgb(236, 255, 176)
HSLhsl(74, 100%, 85%)
CMYKcmyk(8%, 0%, 31%, 0%)
LABlab(97.0 -18.7 35.8)
LCHlch(97.0 40.3 117.5)
OKLCHoklch(0.968 0.102 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow31.0%
Key (black)0.0%

Color previews

#ecffb0 text on a black background

contrast 19.50:1

Card sample

#ecffb0 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffb0 in the Color Lab