Skip to content

#eee2b1

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

RGB
238, 226, 177
HSL
48°, 64%, 81%
CMYK
0, 5, 26, 7
Luminance
0.7574

Every format

HEX#eee2b1
RGBrgb(238, 226, 177)
HSLhsl(48, 64%, 81%)
CMYKcmyk(0%, 5%, 26%, 7%)
LABlab(89.7 -3.4 25.5)
LCHlch(89.7 25.7 97.6)
OKLCHoklch(0.910 0.065 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee2b1 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#eee2b1 on black: 16.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green88.6%
Blue69.4%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow25.6%
Key (black)6.7%

Color previews

#eee2b1 text on a black background

contrast 16.15:1

Card sample

#eee2b1 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2b1 in the Color Lab