Skip to content

#ecdfb1

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

RGB
236, 223, 177
HSL
47°, 61%, 81%
CMYK
0, 6, 25, 8
Luminance
0.7378

Every format

HEX#ecdfb1
RGBrgb(236, 223, 177)
HSLhsl(47, 61%, 81%)
CMYKcmyk(0%, 6%, 25%, 8%)
LABlab(88.8 -2.6 24.2)
LCHlch(88.8 24.3 96.2)
OKLCHoklch(0.903 0.062 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue69.4%

CMYK percentages

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

Color previews

#ecdfb1 text on a black background

contrast 15.76:1

Card sample

#ecdfb1 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfb1 in the Color Lab