Skip to content

#ebf6f2

a pale, soft green · cool · closest name: white

RGB
235, 246, 242
HSL
158°, 38%, 94%
CMYK
5, 0, 2, 4
Luminance
0.8998

Every format

HEX#ebf6f2
RGBrgb(235, 246, 242)
HSLhsl(158, 38%, 94%)
CMYKcmyk(5%, 0%, 2%, 4%)
LABlab(96.0 -4.3 0.7)
LCHlch(96.0 4.4 171.4)
OKLCHoklch(0.964 0.013 172.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebf6f2 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#ebf6f2 on black: 19.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green96.5%
Blue94.9%

CMYK percentages

Cyan4.5%
Magenta0.0%
Yellow1.6%
Key (black)3.5%

Color previews

#ebf6f2 text on a black background

contrast 19.00:1

Card sample

#ebf6f2 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebf6f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebf6f2 in the Color Lab