Skip to content

#ececc1

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

RGB
236, 236, 193
HSL
60°, 53%, 84%
CMYK
0, 0, 18, 8
Luminance
0.8167

Every format

HEX#ececc1
RGBrgb(236, 236, 193)
HSLhsl(60, 53%, 84%)
CMYKcmyk(0%, 0%, 18%, 8%)
LABlab(92.4 -7.0 20.9)
LCHlch(92.4 22.1 108.4)
OKLCHoklch(0.932 0.056 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ececc1 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ececc1 on black: 17.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green92.5%
Blue75.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow18.2%
Key (black)7.5%

Color previews

#ececc1 text on a black background

contrast 17.33:1

Card sample

#ececc1 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ececc1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ececc1 in the Color Lab