Skip to content

#ebfef2

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

RGB
235, 254, 242
HSL
142°, 91%, 96%
CMYK
8, 0, 5, 0
Luminance
0.9496

Every format

HEX#ebfef2
RGBrgb(235, 254, 242)
HSLhsl(142, 91%, 96%)
CMYKcmyk(8%, 0%, 5%, 0%)
LABlab(98.0 -8.4 3.6)
LCHlch(98.0 9.1 156.6)
OKLCHoklch(0.980 0.025 158.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebfef2 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#ebfef2 on black: 19.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green99.6%
Blue94.9%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow4.7%
Key (black)0.4%

Color previews

#ebfef2 text on a black background

contrast 19.99:1

Card sample

#ebfef2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfef2 in the Color Lab