Skip to content

#ecdfb5

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

RGB
236, 223, 181
HSL
46°, 59%, 82%
CMYK
0, 6, 23, 8
Luminance
0.7394

Every format

HEX#ecdfb5
RGBrgb(236, 223, 181)
HSLhsl(46, 59%, 82%)
CMYKcmyk(0%, 6%, 23%, 8%)
LABlab(88.9 -2.1 22.2)
LCHlch(88.9 22.3 95.3)
OKLCHoklch(0.904 0.057 92.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow23.3%
Key (black)7.5%

Color previews

#ecdfb5 text on a black background

contrast 15.79:1

Card sample

#ecdfb5 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfb5 in the Color Lab