Skip to content

#e2dfbd

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

RGB
226, 223, 189
HSL
55°, 39%, 81%
CMYK
0, 1, 16, 11
Luminance
0.7262

Every format

HEX#e2dfbd
RGBrgb(226, 223, 189)
HSLhsl(55, 39%, 81%)
CMYKcmyk(0%, 1%, 16%, 11%)
LABlab(88.3 -4.6 17.1)
LCHlch(88.3 17.7 105.0)
OKLCHoklch(0.897 0.045 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dfbd on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#e2dfbd on black: 15.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow16.4%
Key (black)11.4%

Color previews

#e2dfbd text on a black background

contrast 15.52:1

Card sample

#e2dfbd text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dfbd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfbd in the Color Lab