Skip to content

#eee0a2

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

RGB
238, 224, 162
HSL
49°, 69%, 78%
CMYK
0, 6, 32, 7
Luminance
0.7410

Every format

HEX#eee0a2
RGBrgb(238, 224, 162)
HSLhsl(49, 69%, 78%)
CMYKcmyk(0%, 6%, 32%, 7%)
LABlab(89.0 -4.3 32.1)
LCHlch(89.0 32.4 97.6)
OKLCHoklch(0.903 0.081 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee0a2 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#eee0a2 on black: 15.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green87.8%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow31.9%
Key (black)6.7%

Color previews

#eee0a2 text on a black background

contrast 15.82:1

Card sample

#eee0a2 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee0a2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee0a2 in the Color Lab