Skip to content

#ecdfb4

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

RGB
236, 223, 180
HSL
46°, 60%, 82%
CMYK
0, 6, 24, 8
Luminance
0.7390

Every format

HEX#ecdfb4
RGBrgb(236, 223, 180)
HSLhsl(46, 60%, 82%)
CMYKcmyk(0%, 6%, 24%, 8%)
LABlab(88.9 -2.2 22.7)
LCHlch(88.9 22.8 95.6)
OKLCHoklch(0.903 0.058 93.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green87.5%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow23.7%
Key (black)7.5%

Color previews

#ecdfb4 text on a black background

contrast 15.78:1

Card sample

#ecdfb4 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecdfb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecdfb4 in the Color Lab