Skip to content

#e4e2ac

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

RGB
228, 226, 172
HSL
58°, 51%, 78%
CMYK
0, 1, 25, 11
Luminance
0.7387

Every format

HEX#e4e2ac
RGBrgb(228, 226, 172)
HSLhsl(58, 51%, 78%)
CMYKcmyk(0%, 1%, 25%, 11%)
LABlab(88.9 -7.8 26.7)
LCHlch(88.9 27.8 106.2)
OKLCHoklch(0.901 0.070 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green88.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow24.6%
Key (black)10.6%

Color previews

#e4e2ac text on a black background

contrast 15.77:1

Card sample

#e4e2ac text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4e2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4e2ac in the Color Lab