Skip to content

#f2eedd

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

RGB
242, 238, 221
HSL
49°, 45%, 91%
CMYK
0, 2, 9, 5
Luminance
0.8525

Every format

HEX#f2eedd
RGBrgb(242, 238, 221)
HSLhsl(49, 45%, 91%)
CMYKcmyk(0%, 2%, 9%, 5%)
LABlab(94.0 -1.5 8.7)
LCHlch(94.0 8.8 100.0)
OKLCHoklch(0.948 0.023 96.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green93.3%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow8.7%
Key (black)5.1%

Color previews

#f2eedd text on a black background

contrast 18.05:1

Card sample

#f2eedd text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eedd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eedd in the Color Lab