Skip to content

#ebff9c

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

RGB
235, 255, 156
HSL
72°, 100%, 81%
CMYK
8, 0, 39, 0
Luminance
0.9158

Every format

HEX#ebff9c
RGBrgb(235, 255, 156)
HSLhsl(72, 100%, 81%)
CMYKcmyk(8%, 0%, 39%, 0%)
LABlab(96.7 -21.4 45.1)
LCHlch(96.7 50.0 115.4)
OKLCHoklch(0.964 0.125 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green100.0%
Blue61.2%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow38.8%
Key (black)0.0%

Color previews

#ebff9c text on a black background

contrast 19.32:1

Card sample

#ebff9c text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebff9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebff9c in the Color Lab