Skip to content

#e2e2bf

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

RGB
226, 226, 191
HSL
60°, 38%, 82%
CMYK
0, 0, 16, 11
Luminance
0.7432

Every format

HEX#e2e2bf
RGBrgb(226, 226, 191)
HSLhsl(60, 38%, 82%)
CMYKcmyk(0%, 0%, 16%, 11%)
LABlab(89.1 -5.8 17.1)
LCHlch(89.1 18.1 108.7)
OKLCHoklch(0.904 0.046 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2e2bf on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#e2e2bf on black: 15.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green88.6%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow15.5%
Key (black)11.4%

Color previews

#e2e2bf text on a black background

contrast 15.86:1

Card sample

#e2e2bf text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2e2bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2e2bf in the Color Lab