Skip to content

#f2dfc4

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

RGB
242, 223, 196
HSL
35°, 64%, 86%
CMYK
0, 8, 19, 5
Luminance
0.7564

Every format

HEX#f2dfc4
RGBrgb(242, 223, 196)
HSLhsl(35, 64%, 86%)
CMYKcmyk(0%, 8%, 19%, 5%)
LABlab(89.7 2.3 15.6)
LCHlch(89.7 15.8 81.8)
OKLCHoklch(0.912 0.041 76.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dfc4 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#f2dfc4 on black: 16.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green87.5%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow19.0%
Key (black)5.1%

Color previews

#f2dfc4 text on a black background

contrast 16.13:1

Card sample

#f2dfc4 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dfc4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dfc4 in the Color Lab