Skip to content

#ebfaf2

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

RGB
235, 250, 242
HSL
148°, 60%, 95%
CMYK
6, 0, 3, 2
Luminance
0.9244

Every format

HEX#ebfaf2
RGBrgb(235, 250, 242)
HSLhsl(148, 60%, 95%)
CMYKcmyk(6%, 0%, 3%, 2%)
LABlab(97.0 -6.3 2.1)
LCHlch(97.0 6.7 161.4)
OKLCHoklch(0.972 0.019 162.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green98.0%
Blue94.9%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow3.2%
Key (black)2.0%

Color previews

#ebfaf2 text on a black background

contrast 19.49:1

Card sample

#ebfaf2 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebfaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebfaf2 in the Color Lab