Skip to content

#f2cebc

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

RGB
242, 206, 188
HSL
20°, 68%, 84%
CMYK
0, 15, 22, 5
Luminance
0.6665

Every format

HEX#f2cebc
RGBrgb(242, 206, 188)
HSLhsl(20, 68%, 84%)
CMYKcmyk(0%, 15%, 22%, 5%)
LABlab(85.3 9.9 13.6)
LCHlch(85.3 16.9 54.0)
OKLCHoklch(0.877 0.048 48.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cebc on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#f2cebc on black: 14.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.8%
Blue73.7%

CMYK percentages

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

Color previews

#f2cebc text on a black background

contrast 14.33:1

Card sample

#f2cebc text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cebc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cebc in the Color Lab