Skip to content

#ecdfab

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

RGB
236, 223, 171
HSL
48°, 63%, 80%
CMYK
0, 6, 28, 8
Luminance
0.7355

Every format

HEX#ecdfab
RGBrgb(236, 223, 171)
HSLhsl(48, 63%, 80%)
CMYKcmyk(0%, 6%, 28%, 8%)
LABlab(88.7 -3.4 27.1)
LCHlch(88.7 27.4 97.2)
OKLCHoklch(0.901 0.069 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow27.5%
Key (black)7.5%

Color previews

#ecdfab text on a black background

contrast 15.71:1

Card sample

#ecdfab text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfab in the Color Lab