Skip to content

#eee2a6

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

RGB
238, 226, 166
HSL
50°, 68%, 79%
CMYK
0, 5, 30, 7
Luminance
0.7532

Every format

HEX#eee2a6
RGBrgb(238, 226, 166)
HSLhsl(50, 68%, 79%)
CMYKcmyk(0%, 5%, 30%, 7%)
LABlab(89.5 -4.8 30.9)
LCHlch(89.5 31.3 98.9)
OKLCHoklch(0.908 0.078 98.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green88.6%
Blue65.1%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow30.3%
Key (black)6.7%

Color previews

#eee2a6 text on a black background

contrast 16.06:1

Card sample

#eee2a6 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2a6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2a6 in the Color Lab