Skip to content

#f0cdaa

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

RGB
240, 205, 170
HSL
30°, 70%, 80%
CMYK
0, 15, 29, 6
Luminance
0.6509

Every format

HEX#f0cdaa
RGBrgb(240, 205, 170)
HSLhsl(30, 70%, 80%)
CMYKcmyk(0%, 15%, 29%, 6%)
LABlab(84.5 7.2 22.0)
LCHlch(84.5 23.2 71.8)
OKLCHoklch(0.869 0.061 66.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cdaa on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#f0cdaa on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green80.4%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta14.6%
Yellow29.2%
Key (black)5.9%

Color previews

#f0cdaa text on a black background

contrast 14.02:1

Card sample

#f0cdaa text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cdaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cdaa in the Color Lab