Skip to content

#ebfc9d

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

RGB
235, 252, 157
HSL
71°, 94%, 80%
CMYK
7, 0, 38, 1
Luminance
0.8972

Every format

HEX#ebfc9d
RGBrgb(235, 252, 157)
HSLhsl(71, 94%, 80%)
CMYKcmyk(7%, 0%, 38%, 1%)
LABlab(95.9 -19.9 43.6)
LCHlch(95.9 48.0 114.5)
OKLCHoklch(0.958 0.120 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfc9d on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#ebfc9d on black: 18.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green98.8%
Blue61.6%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow37.7%
Key (black)1.2%

Color previews

#ebfc9d text on a black background

contrast 18.94:1

Card sample

#ebfc9d text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfc9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfc9d in the Color Lab