Skip to content

#ecdfb8

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

RGB
236, 223, 184
HSL
45°, 58%, 82%
CMYK
0, 6, 22, 8
Luminance
0.7407

Every format

HEX#ecdfb8
RGBrgb(236, 223, 184)
HSLhsl(45, 58%, 82%)
CMYKcmyk(0%, 6%, 22%, 8%)
LABlab(89.0 -1.7 20.8)
LCHlch(89.0 20.8 94.6)
OKLCHoklch(0.904 0.053 91.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue72.2%

CMYK percentages

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

Color previews

#ecdfb8 text on a black background

contrast 15.81:1

Card sample

#ecdfb8 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfb8 in the Color Lab