Skip to content

#f0ddbf

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

RGB
240, 221, 191
HSL
37°, 62%, 85%
CMYK
0, 8, 20, 6
Luminance
0.7400

Every format

HEX#f0ddbf
RGBrgb(240, 221, 191)
HSLhsl(37, 62%, 85%)
CMYKcmyk(0%, 8%, 20%, 6%)
LABlab(88.9 1.8 17.1)
LCHlch(88.9 17.2 83.9)
OKLCHoklch(0.905 0.045 79.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ddbf on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#f0ddbf on black: 15.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green86.7%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow20.4%
Key (black)5.9%

Color previews

#f0ddbf text on a black background

contrast 15.80:1

Card sample

#f0ddbf text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ddbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ddbf in the Color Lab