Skip to content

#f0c8af

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

RGB
240, 200, 175
HSL
23°, 68%, 81%
CMYK
0, 17, 27, 6
Luminance
0.6293

Every format

HEX#f0c8af
RGBrgb(240, 200, 175)
HSLhsl(23, 68%, 81%)
CMYKcmyk(0%, 17%, 27%, 6%)
LABlab(83.4 10.5 17.8)
LCHlch(83.4 20.7 59.4)
OKLCHoklch(0.861 0.057 53.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0c8af on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#f0c8af on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green78.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow27.1%
Key (black)5.9%

Color previews

#f0c8af text on a black background

contrast 13.59:1

Card sample

#f0c8af text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0c8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0c8af in the Color Lab