Skip to content

#eee2a0

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

RGB
238, 226, 160
HSL
51°, 70%, 78%
CMYK
0, 5, 33, 7
Luminance
0.7511

Every format

HEX#eee2a0
RGBrgb(238, 226, 160)
HSLhsl(51, 70%, 78%)
CMYKcmyk(0%, 5%, 33%, 7%)
LABlab(89.4 -5.6 33.8)
LCHlch(89.4 34.3 99.3)
OKLCHoklch(0.907 0.085 99.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green88.6%
Blue62.7%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow32.8%
Key (black)6.7%

Color previews

#eee2a0 text on a black background

contrast 16.02:1

Card sample

#eee2a0 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2a0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2a0 in the Color Lab