Skip to content

#f2eed7

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

RGB
242, 238, 215
HSL
51°, 51%, 90%
CMYK
0, 2, 11, 5
Luminance
0.8493

Every format

HEX#f2eed7
RGBrgb(242, 238, 215)
HSLhsl(51, 51%, 90%)
CMYKcmyk(0%, 2%, 11%, 5%)
LABlab(93.8 -2.5 11.6)
LCHlch(93.8 11.9 102.1)
OKLCHoklch(0.946 0.031 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2eed7 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#f2eed7 on black: 17.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green93.3%
Blue84.3%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow11.2%
Key (black)5.1%

Color previews

#f2eed7 text on a black background

contrast 17.99:1

Card sample

#f2eed7 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2eed7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2eed7 in the Color Lab