Skip to content

#f2ebdc

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

RGB
242, 235, 220
HSL
41°, 46%, 91%
CMYK
0, 3, 9, 5
Luminance
0.8346

Every format

HEX#f2ebdc
RGBrgb(242, 235, 220)
HSLhsl(41, 46%, 91%)
CMYKcmyk(0%, 3%, 9%, 5%)
LABlab(93.2 -0.2 8.1)
LCHlch(93.2 8.1 91.2)
OKLCHoklch(0.942 0.021 85.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ebdc on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#f2ebdc on black: 17.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green92.2%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow9.1%
Key (black)5.1%

Color previews

#f2ebdc text on a black background

contrast 17.69:1

Card sample

#f2ebdc text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ebdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ebdc in the Color Lab