Skip to content

#ece2ab

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

RGB
236, 226, 171
HSL
51°, 63%, 80%
CMYK
0, 4, 28, 8
Luminance
0.7517

Every format

HEX#ece2ab
RGBrgb(236, 226, 171)
HSLhsl(51, 63%, 80%)
CMYKcmyk(0%, 4%, 28%, 8%)
LABlab(89.5 -4.9 28.2)
LCHlch(89.5 28.6 99.9)
OKLCHoklch(0.907 0.072 99.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ece2ab text on a black background

contrast 16.03:1

Card sample

#ece2ab text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ece2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ece2ab in the Color Lab