Skip to content

#f7efdf

a pale, vivid yellow · warm · closest name: beige

RGB
247, 239, 223
HSL
40°, 60%, 92%
CMYK
0, 3, 10, 3
Luminance
0.8683

Every format

HEX#f7efdf
RGBrgb(247, 239, 223)
HSLhsl(40, 60%, 92%)
CMYKcmyk(0%, 3%, 10%, 3%)
LABlab(94.7 0.0 8.7)
LCHlch(94.7 8.7 89.9)
OKLCHoklch(0.954 0.023 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7efdf on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f7efdf on black: 18.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green93.7%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow9.7%
Key (black)3.1%

Color previews

#f7efdf text on a black background

contrast 18.37:1

Card sample

#f7efdf text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7efdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7efdf in the Color Lab