Skip to content

#ecdbac

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

RGB
236, 219, 172
HSL
44°, 63%, 80%
CMYK
0, 7, 27, 8
Luminance
0.7147

Every format

HEX#ecdbac
RGBrgb(236, 219, 172)
HSLhsl(44, 63%, 80%)
CMYKcmyk(0%, 7%, 27%, 8%)
LABlab(87.7 -1.2 25.3)
LCHlch(87.7 25.3 92.8)
OKLCHoklch(0.894 0.064 90.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecdbac on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ecdbac on black: 15.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green85.9%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta7.2%
Yellow27.1%
Key (black)7.5%

Color previews

#ecdbac text on a black background

contrast 15.29:1

Card sample

#ecdbac text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdbac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdbac in the Color Lab