Skip to content

#ebecc5

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

RGB
235, 236, 197
HSL
62°, 51%, 85%
CMYK
0, 0, 17, 8
Luminance
0.8168

Every format

HEX#ebecc5
RGBrgb(235, 236, 197)
HSLhsl(62, 51%, 85%)
CMYKcmyk(0%, 0%, 17%, 8%)
LABlab(92.4 -6.7 18.9)
LCHlch(92.4 20.0 109.6)
OKLCHoklch(0.932 0.051 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green92.5%
Blue77.3%

CMYK percentages

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

Color previews

#ebecc5 text on a black background

contrast 17.34:1

Card sample

#ebecc5 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebecc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebecc5 in the Color Lab