Skip to content

#ece2ac

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

RGB
236, 226, 172
HSL
51°, 63%, 80%
CMYK
0, 4, 27, 8
Luminance
0.7520

Every format

HEX#ece2ac
RGBrgb(236, 226, 172)
HSLhsl(51, 63%, 80%)
CMYKcmyk(0%, 4%, 27%, 8%)
LABlab(89.5 -4.8 27.7)
LCHlch(89.5 28.1 99.9)
OKLCHoklch(0.908 0.071 98.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ece2ac on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#ece2ac on black: 16.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green88.6%
Blue67.5%

CMYK percentages

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

Color previews

#ece2ac text on a black background

contrast 16.04:1

Card sample

#ece2ac text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2ac in the Color Lab