Skip to content

#f0cfb3

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

RGB
240, 207, 179
HSL
28°, 67%, 82%
CMYK
0, 14, 25, 6
Luminance
0.6641

Every format

HEX#f0cfb3
RGBrgb(240, 207, 179)
HSLhsl(28, 67%, 82%)
CMYKcmyk(0%, 14%, 25%, 6%)
LABlab(85.2 7.4 18.2)
LCHlch(85.2 19.6 67.9)
OKLCHoklch(0.875 0.053 62.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green81.2%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta13.7%
Yellow25.4%
Key (black)5.9%

Color previews

#f0cfb3 text on a black background

contrast 14.28:1

Card sample

#f0cfb3 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cfb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cfb3 in the Color Lab