Skip to content

#ece2c2

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

RGB
236, 226, 194
HSL
46°, 53%, 84%
CMYK
0, 4, 18, 8
Luminance
0.7612

Every format

HEX#ece2c2
RGBrgb(236, 226, 194)
HSLhsl(46, 53%, 84%)
CMYKcmyk(0%, 4%, 18%, 8%)
LABlab(89.9 -1.7 16.9)
LCHlch(89.9 17.0 95.9)
OKLCHoklch(0.912 0.044 92.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece2c2 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#ece2c2 on black: 16.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green88.6%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta4.2%
Yellow17.8%
Key (black)7.5%

Color previews

#ece2c2 text on a black background

contrast 16.22:1

Card sample

#ece2c2 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2c2 in the Color Lab