Skip to content

#f2ddc4

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

RGB
242, 221, 196
HSL
33°, 64%, 86%
CMYK
0, 9, 19, 5
Luminance
0.7458

Every format

HEX#f2ddc4
RGBrgb(242, 221, 196)
HSLhsl(33, 64%, 86%)
CMYKcmyk(0%, 9%, 19%, 5%)
LABlab(89.2 3.3 14.9)
LCHlch(89.2 15.3 77.5)
OKLCHoklch(0.908 0.041 72.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ddc4 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#f2ddc4 on black: 15.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green86.7%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow19.0%
Key (black)5.1%

Color previews

#f2ddc4 text on a black background

contrast 15.92:1

Card sample

#f2ddc4 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ddc4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ddc4 in the Color Lab