Skip to content

#f0ceb2

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

RGB
240, 206, 178
HSL
27°, 67%, 82%
CMYK
0, 14, 26, 6
Luminance
0.6588

Every format

HEX#f0ceb2
RGBrgb(240, 206, 178)
HSLhsl(27, 67%, 82%)
CMYKcmyk(0%, 14%, 26%, 6%)
LABlab(84.9 7.8 18.4)
LCHlch(84.9 19.9 67.0)
OKLCHoklch(0.873 0.054 61.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ceb2 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#f0ceb2 on black: 14.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green80.8%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta14.2%
Yellow25.8%
Key (black)5.9%

Color previews

#f0ceb2 text on a black background

contrast 14.18:1

Card sample

#f0ceb2 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ceb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ceb2 in the Color Lab