Skip to content

#f0d2ab

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

RGB
240, 210, 171
HSL
34°, 70%, 81%
CMYK
0, 13, 29, 6
Luminance
0.6756

Every format

HEX#f0d2ab
RGBrgb(240, 210, 171)
HSLhsl(34, 70%, 81%)
CMYKcmyk(0%, 13%, 29%, 6%)
LABlab(85.8 4.8 23.2)
LCHlch(85.8 23.7 78.4)
OKLCHoklch(0.879 0.061 74.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0d2ab on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#f0d2ab on black: 14.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green82.4%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow28.8%
Key (black)5.9%

Color previews

#f0d2ab text on a black background

contrast 14.51:1

Card sample

#f0d2ab text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d2ab in the Color Lab