Skip to content

#ecffaf

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

RGB
236, 255, 175
HSL
74°, 100%, 84%
CMYK
8, 0, 31, 0
Luminance
0.9245

Every format

HEX#ecffaf
RGBrgb(236, 255, 175)
HSLhsl(74, 100%, 84%)
CMYKcmyk(8%, 0%, 31%, 0%)
LABlab(97.0 -18.8 36.3)
LCHlch(97.0 40.8 117.4)
OKLCHoklch(0.968 0.103 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green100.0%
Blue68.6%

CMYK percentages

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

Color previews

#ecffaf text on a black background

contrast 19.49:1

Card sample

#ecffaf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecffaf in the Color Lab