Skip to content

#f0ccba

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

RGB
240, 204, 186
HSL
20°, 64%, 84%
CMYK
0, 15, 23, 6
Luminance
0.6526

Every format

HEX#f0ccba
RGBrgb(240, 204, 186)
HSLhsl(20, 64%, 84%)
CMYKcmyk(0%, 15%, 23%, 6%)
LABlab(84.6 9.9 13.7)
LCHlch(84.6 16.9 54.0)
OKLCHoklch(0.871 0.048 48.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ccba on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#f0ccba on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green80.0%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow22.5%
Key (black)5.9%

Color previews

#f0ccba text on a black background

contrast 14.05:1

Card sample

#f0ccba text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ccba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ccba in the Color Lab