Skip to content

#eee4c2

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

RGB
238, 228, 194
HSL
46°, 56%, 85%
CMYK
0, 4, 19, 7
Luminance
0.7756

Every format

HEX#eee4c2
RGBrgb(238, 228, 194)
HSLhsl(46, 56%, 85%)
CMYKcmyk(0%, 4%, 19%, 7%)
LABlab(90.6 -2.0 17.8)
LCHlch(90.6 18.0 96.5)
OKLCHoklch(0.918 0.046 93.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee4c2 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#eee4c2 on black: 16.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green89.4%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta4.2%
Yellow18.5%
Key (black)6.7%

Color previews

#eee4c2 text on a black background

contrast 16.51:1

Card sample

#eee4c2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee4c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee4c2 in the Color Lab