Skip to content

#f2dfbc

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

RGB
242, 223, 188
HSL
39°, 68%, 84%
CMYK
0, 8, 22, 5
Luminance
0.7528

Every format

HEX#f2dfbc
RGBrgb(242, 223, 188)
HSLhsl(39, 68%, 84%)
CMYKcmyk(0%, 8%, 22%, 5%)
LABlab(89.5 1.1 19.5)
LCHlch(89.5 19.6 86.7)
OKLCHoklch(0.910 0.051 82.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green87.5%
Blue73.7%

CMYK percentages

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

Color previews

#f2dfbc text on a black background

contrast 16.06:1

Card sample

#f2dfbc text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dfbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dfbc in the Color Lab