Skip to content

#f0dcb8

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

RGB
240, 220, 184
HSL
39°, 65%, 83%
CMYK
0, 8, 23, 6
Luminance
0.7317

Every format

HEX#f0dcb8
RGBrgb(240, 220, 184)
HSLhsl(39, 65%, 83%)
CMYKcmyk(0%, 8%, 23%, 6%)
LABlab(88.5 1.4 20.2)
LCHlch(88.5 20.3 86.2)
OKLCHoklch(0.902 0.052 82.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dcb8 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#f0dcb8 on black: 15.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green86.3%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow23.3%
Key (black)5.9%

Color previews

#f0dcb8 text on a black background

contrast 15.63:1

Card sample

#f0dcb8 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dcb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dcb8 in the Color Lab