Skip to content

#f0ebcd

a pale, vivid yellow · cool · closest name: beige

RGB
240, 235, 205
HSL
51°, 54%, 87%
CMYK
0, 2, 15, 6
Luminance
0.8235

Every format

HEX#f0ebcd
RGBrgb(240, 235, 205)
HSLhsl(51, 54%, 87%)
CMYKcmyk(0%, 2%, 15%, 6%)
LABlab(92.7 -3.2 15.2)
LCHlch(92.7 15.5 102.0)
OKLCHoklch(0.936 0.040 99.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ebcd on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#f0ebcd on black: 17.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green92.2%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta2.1%
Yellow14.6%
Key (black)5.9%

Color previews

#f0ebcd text on a black background

contrast 17.47:1

Card sample

#f0ebcd text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ebcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ebcd in the Color Lab