Skip to content

#f0d2ac

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

RGB
240, 210, 172
HSL
34°, 69%, 81%
CMYK
0, 13, 28, 6
Luminance
0.6760

Every format

HEX#f0d2ac
RGBrgb(240, 210, 172)
HSLhsl(34, 69%, 81%)
CMYKcmyk(0%, 13%, 28%, 6%)
LABlab(85.8 4.9 22.7)
LCHlch(85.8 23.2 77.8)
OKLCHoklch(0.879 0.060 73.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#f0d2ac text on a black background

contrast 14.52:1

Card sample

#f0d2ac text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d2ac in the Color Lab