Skip to content

#ebdfb2

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

RGB
235, 223, 178
HSL
47°, 59%, 81%
CMYK
0, 5, 24, 8
Luminance
0.7365

Every format

HEX#ebdfb2
RGBrgb(235, 223, 178)
HSLhsl(47, 59%, 81%)
CMYKcmyk(0%, 5%, 24%, 8%)
LABlab(88.8 -2.9 23.6)
LCHlch(88.8 23.8 96.9)
OKLCHoklch(0.902 0.060 94.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdfb2 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#ebdfb2 on black: 15.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow24.3%
Key (black)7.8%

Color previews

#ebdfb2 text on a black background

contrast 15.73:1

Card sample

#ebdfb2 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdfb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdfb2 in the Color Lab