Skip to content

#ebfff2

a pale, electric green · cool · closest name: ivory

RGB
235, 255, 242
HSL
141°, 100%, 96%
CMYK
8, 0, 5, 0
Luminance
0.9559

Every format

HEX#ebfff2
RGBrgb(235, 255, 242)
HSLhsl(141, 100%, 96%)
CMYKcmyk(8%, 0%, 5%, 0%)
LABlab(98.3 -8.8 4.0)
LCHlch(98.3 9.7 155.8)
OKLCHoklch(0.982 0.027 157.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfff2 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#ebfff2 on black: 20.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green100.0%
Blue94.9%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow5.1%
Key (black)0.0%

Color previews

#ebfff2 text on a black background

contrast 20.12:1

Card sample

#ebfff2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfff2 in the Color Lab