Skip to content

#ebece2

a pale, soft yellow · cool · closest name: ivory

RGB
235, 236, 226
HSL
66°, 21%, 91%
CMYK
0, 0, 4, 8
Luminance
0.8314

Every format

HEX#ebece2
RGBrgb(235, 236, 226)
HSLhsl(66, 21%, 91%)
CMYKcmyk(0%, 0%, 4%, 8%)
LABlab(93.1 -2.1 4.7)
LCHlch(93.1 5.2 113.8)
OKLCHoklch(0.940 0.013 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebece2 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ebece2 on black: 17.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green92.5%
Blue88.6%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow4.2%
Key (black)7.5%

Color previews

#ebece2 text on a black background

contrast 17.63:1

Card sample

#ebece2 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebece2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebece2 in the Color Lab