Skip to content

#ecdfb6

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

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

Every format

HEX#ecdfb6
RGBrgb(236, 223, 182)
HSLhsl(46, 59%, 82%)
CMYKcmyk(0%, 6%, 23%, 8%)
LABlab(88.9 -1.9 21.7)
LCHlch(88.9 21.8 95.1)
OKLCHoklch(0.904 0.056 92.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue71.4%

CMYK percentages

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

Color previews

#ecdfb6 text on a black background

contrast 15.80:1

Card sample

#ecdfb6 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfb6 in the Color Lab