Skip to content

#f2dfbb

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

RGB
242, 223, 187
HSL
39°, 68%, 84%
CMYK
0, 8, 23, 5
Luminance
0.7524

Every format

HEX#f2dfbb
RGBrgb(242, 223, 187)
HSLhsl(39, 68%, 84%)
CMYKcmyk(0%, 8%, 23%, 5%)
LABlab(89.5 1.0 20.0)
LCHlch(89.5 20.1 87.2)
OKLCHoklch(0.910 0.052 83.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dfbb on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f2dfbb on black: 16.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green87.5%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow22.7%
Key (black)5.1%

Color previews

#f2dfbb text on a black background

contrast 16.05:1

Card sample

#f2dfbb text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dfbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dfbb in the Color Lab