Skip to content

#f2e3cf

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

RGB
242, 227, 207
HSL
34°, 57%, 88%
CMYK
0, 6, 15, 5
Luminance
0.7832

Every format

HEX#f2e3cf
RGBrgb(242, 227, 207)
HSLhsl(34, 57%, 88%)
CMYKcmyk(0%, 6%, 15%, 5%)
LABlab(90.9 1.9 11.6)
LCHlch(90.9 11.8 80.9)
OKLCHoklch(0.922 0.031 75.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2e3cf on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f2e3cf on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green89.0%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta6.2%
Yellow14.5%
Key (black)5.1%

Color previews

#f2e3cf text on a black background

contrast 16.66:1

Card sample

#f2e3cf text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2e3cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2e3cf in the Color Lab