Skip to content

#ecfcbc

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

RGB
236, 252, 188
HSL
75°, 91%, 86%
CMYK
6, 0, 25, 1
Luminance
0.9108

Every format

HEX#ecfcbc
RGBrgb(236, 252, 188)
HSLhsl(75, 91%, 86%)
CMYKcmyk(6%, 0%, 25%, 1%)
LABlab(96.4 -15.6 29.0)
LCHlch(96.4 32.9 118.3)
OKLCHoklch(0.964 0.084 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfcbc on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#ecfcbc on black: 19.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green98.8%
Blue73.7%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow25.4%
Key (black)1.2%

Color previews

#ecfcbc text on a black background

contrast 19.22:1

Card sample

#ecfcbc text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfcbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfcbc in the Color Lab