Skip to content

#eee498

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

RGB
238, 228, 152
HSL
53°, 72%, 77%
CMYK
0, 4, 36, 7
Luminance
0.7593

Every format

HEX#eee498
RGBrgb(238, 228, 152)
HSLhsl(53, 72%, 77%)
CMYKcmyk(0%, 4%, 36%, 7%)
LABlab(89.8 -7.5 38.4)
LCHlch(89.8 39.1 101.1)
OKLCHoklch(0.910 0.097 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee498 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#eee498 on black: 16.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green89.4%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta4.2%
Yellow36.1%
Key (black)6.7%

Color previews

#eee498 text on a black background

contrast 16.19:1

Card sample

#eee498 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee498

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee498 in the Color Lab