Skip to content

#f2dfcf

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

RGB
242, 223, 207
HSL
27°, 57%, 88%
CMYK
0, 8, 15, 5
Luminance
0.7616

Every format

HEX#f2dfcf
RGBrgb(242, 223, 207)
HSLhsl(27, 57%, 88%)
CMYKcmyk(0%, 8%, 15%, 5%)
LABlab(89.9 3.9 10.2)
LCHlch(89.9 10.9 69.0)
OKLCHoklch(0.915 0.030 62.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dfcf on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#f2dfcf on black: 16.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green87.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow14.5%
Key (black)5.1%

Color previews

#f2dfcf text on a black background

contrast 16.23:1

Card sample

#f2dfcf text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dfcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dfcf in the Color Lab