Skip to content

#f2eedf

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

RGB
242, 238, 223
HSL
47°, 42%, 91%
CMYK
0, 2, 8, 5
Luminance
0.8535

Every format

HEX#f2eedf
RGBrgb(242, 238, 223)
HSLhsl(47, 42%, 91%)
CMYKcmyk(0%, 2%, 8%, 5%)
LABlab(94.0 -1.2 7.7)
LCHlch(94.0 7.8 98.9)
OKLCHoklch(0.948 0.020 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2eedf on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f2eedf on black: 18.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green93.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow7.9%
Key (black)5.1%

Color previews

#f2eedf text on a black background

contrast 18.07:1

Card sample

#f2eedf text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eedf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eedf in the Color Lab