Skip to content

#f2dacb

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

RGB
242, 218, 203
HSL
23°, 60%, 87%
CMYK
0, 10, 16, 5
Luminance
0.7333

Every format

HEX#f2dacb
RGBrgb(242, 218, 203)
HSLhsl(23, 60%, 87%)
CMYKcmyk(0%, 10%, 16%, 5%)
LABlab(88.6 5.9 10.4)
LCHlch(88.6 11.9 60.5)
OKLCHoklch(0.904 0.034 54.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dacb on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#f2dacb on black: 15.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green85.5%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow16.1%
Key (black)5.1%

Color previews

#f2dacb text on a black background

contrast 15.67:1

Card sample

#f2dacb text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dacb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dacb in the Color Lab