Skip to content

#e2e2ac

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

RGB
226, 226, 172
HSL
60°, 48%, 78%
CMYK
0, 0, 24, 11
Luminance
0.7354

Every format

HEX#e2e2ac
RGBrgb(226, 226, 172)
HSLhsl(60, 48%, 78%)
CMYKcmyk(0%, 0%, 24%, 11%)
LABlab(88.7 -8.5 26.5)
LCHlch(88.7 27.8 107.9)
OKLCHoklch(0.900 0.070 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2e2ac on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#e2e2ac on black: 15.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green88.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow23.9%
Key (black)11.4%

Color previews

#e2e2ac text on a black background

contrast 15.71:1

Card sample

#e2e2ac text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2e2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2e2ac in the Color Lab