Skip to content

#ecdfbc

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

RGB
236, 223, 188
HSL
44°, 56%, 83%
CMYK
0, 6, 20, 8
Luminance
0.7424

Every format

HEX#ecdfbc
RGBrgb(236, 223, 188)
HSLhsl(44, 56%, 83%)
CMYKcmyk(0%, 6%, 20%, 8%)
LABlab(89.0 -1.1 18.8)
LCHlch(89.0 18.8 93.3)
OKLCHoklch(0.905 0.048 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue73.7%

CMYK percentages

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

Color previews

#ecdfbc text on a black background

contrast 15.85:1

Card sample

#ecdfbc text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfbc in the Color Lab