Skip to content

#e7dfbc

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

RGB
231, 223, 188
HSL
49°, 47%, 82%
CMYK
0, 4, 19, 9
Luminance
0.7340

Every format

HEX#e7dfbc
RGBrgb(231, 223, 188)
HSLhsl(49, 47%, 82%)
CMYKcmyk(0%, 4%, 19%, 9%)
LABlab(88.6 -2.9 18.2)
LCHlch(88.6 18.4 99.1)
OKLCHoklch(0.901 0.047 96.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red90.6%
Green87.5%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow18.6%
Key (black)9.4%

Color previews

#e7dfbc text on a black background

contrast 15.68:1

Card sample

#e7dfbc text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e7dfbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7dfbc in the Color Lab