Skip to content

#ecfcba

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

RGB
236, 252, 186
HSL
75°, 92%, 86%
CMYK
6, 0, 26, 1
Luminance
0.9100

Every format

HEX#ecfcba
RGBrgb(236, 252, 186)
HSLhsl(75, 92%, 86%)
CMYKcmyk(6%, 0%, 26%, 1%)
LABlab(96.4 -15.9 29.9)
LCHlch(96.4 33.9 117.9)
OKLCHoklch(0.963 0.086 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green98.8%
Blue72.9%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow26.2%
Key (black)1.2%

Color previews

#ecfcba text on a black background

contrast 19.20:1

Card sample

#ecfcba text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfcba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfcba in the Color Lab