Skip to content

#e2ff9c

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

RGB
226, 255, 156
HSL
78°, 100%, 81%
CMYK
11, 0, 39, 0
Luminance
0.9009

Every format

HEX#e2ff9c
RGBrgb(226, 255, 156)
HSLhsl(78, 100%, 81%)
CMYKcmyk(11%, 0%, 39%, 0%)
LABlab(96.0 -24.8 44.2)
LCHlch(96.0 50.7 119.2)
OKLCHoklch(0.957 0.128 122.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2ff9c on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#e2ff9c on black: 19.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green100.0%
Blue61.2%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow38.8%
Key (black)0.0%

Color previews

#e2ff9c text on a black background

contrast 19.02:1

Card sample

#e2ff9c text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ff9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ff9c in the Color Lab