Skip to content

#ebdfab

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

RGB
235, 223, 171
HSL
49°, 62%, 80%
CMYK
0, 5, 27, 8
Luminance
0.7338

Every format

HEX#ebdfab
RGBrgb(235, 223, 171)
HSLhsl(49, 62%, 80%)
CMYKcmyk(0%, 5%, 27%, 8%)
LABlab(88.6 -3.8 27.0)
LCHlch(88.6 27.3 98.0)
OKLCHoklch(0.901 0.069 96.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdfab on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#ebdfab on black: 15.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow27.2%
Key (black)7.8%

Color previews

#ebdfab text on a black background

contrast 15.68:1

Card sample

#ebdfab text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdfab in the Color Lab