Skip to content

#ebffb2

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

RGB
235, 255, 178
HSL
76°, 100%, 85%
CMYK
8, 0, 30, 0
Luminance
0.9240

Every format

HEX#ebffb2
RGBrgb(235, 255, 178)
HSLhsl(76, 100%, 85%)
CMYKcmyk(8%, 0%, 30%, 0%)
LABlab(97.0 -18.8 34.7)
LCHlch(97.0 39.5 118.4)
OKLCHoklch(0.967 0.100 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green100.0%
Blue69.8%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow30.2%
Key (black)0.0%

Color previews

#ebffb2 text on a black background

contrast 19.48:1

Card sample

#ebffb2 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebffb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebffb2 in the Color Lab