Skip to content

#f0dfbe

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

RGB
240, 223, 190
HSL
40°, 63%, 84%
CMYK
0, 7, 21, 6
Luminance
0.7502

Every format

HEX#f0dfbe
RGBrgb(240, 223, 190)
HSLhsl(40, 63%, 84%)
CMYKcmyk(0%, 7%, 21%, 6%)
LABlab(89.4 0.7 18.3)
LCHlch(89.4 18.3 87.9)
OKLCHoklch(0.909 0.047 83.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dfbe on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f0dfbe on black: 16.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green87.5%
Blue74.5%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow20.8%
Key (black)5.9%

Color previews

#f0dfbe text on a black background

contrast 16.00:1

Card sample

#f0dfbe text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dfbe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dfbe in the Color Lab