Skip to content

#ebecc6

a pale, vivid yellow · cool · closest name: beige

RGB
235, 236, 198
HSL
62°, 50%, 85%
CMYK
0, 0, 16, 8
Luminance
0.8173

Every format

HEX#ebecc6
RGBrgb(235, 236, 198)
HSLhsl(62, 50%, 85%)
CMYKcmyk(0%, 0%, 16%, 8%)
LABlab(92.5 -6.6 18.4)
LCHlch(92.5 19.5 109.7)
OKLCHoklch(0.933 0.050 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebecc6 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ebecc6 on black: 17.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green92.5%
Blue77.6%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow16.1%
Key (black)7.5%

Color previews

#ebecc6 text on a black background

contrast 17.35:1

Card sample

#ebecc6 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebecc6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebecc6 in the Color Lab