Skip to content

#e5e2ac

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

RGB
229, 226, 172
HSL
57°, 52%, 79%
CMYK
0, 1, 25, 10
Luminance
0.7403

Every format

HEX#e5e2ac
RGBrgb(229, 226, 172)
HSLhsl(57, 52%, 79%)
CMYKcmyk(0%, 1%, 25%, 10%)
LABlab(88.9 -7.4 26.9)
LCHlch(88.9 27.9 105.4)
OKLCHoklch(0.902 0.070 105.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.8%
Green88.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow24.9%
Key (black)10.2%

Color previews

#e5e2ac text on a black background

contrast 15.81:1

Card sample

#e5e2ac text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e5e2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e5e2ac in the Color Lab