Skip to content

#eee6a2

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

RGB
238, 230, 162
HSL
54°, 69%, 78%
CMYK
0, 3, 32, 7
Luminance
0.7738

Every format

HEX#eee6a2
RGBrgb(238, 230, 162)
HSLhsl(54, 69%, 78%)
CMYKcmyk(0%, 3%, 32%, 7%)
LABlab(90.5 -7.3 34.2)
LCHlch(90.5 35.0 102.1)
OKLCHoklch(0.915 0.087 102.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green90.2%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow31.9%
Key (black)6.7%

Color previews

#eee6a2 text on a black background

contrast 16.48:1

Card sample

#eee6a2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee6a2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee6a2 in the Color Lab