Skip to content

#f0f4da

a pale, vivid yellow · cool · “beige”

RGB
240, 244, 218
HSL
69°, 54%, 91%
CMYK
2, 0, 11, 4
Luminance
0.8829

Every format

HEX#f0f4da
RGBrgb(240, 244, 218)
HSLhsl(69, 54%, 91%)
CMYKcmyk(2%, 0%, 11%, 4%)
LABlab(95.3 -5.7 12.1)
LCHlch(95.3 13.4 115.4)
OKLCHoklch(0.957 0.034 114.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f4da on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#f0f4da on black: 18.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green95.7%
Blue85.5%

CMYK percentages

Cyan1.6%
Magenta0.0%
Yellow10.7%
Key (black)4.3%

Color previews

#f0f4da text on a black background

contrast 18.66:1

Card sample

#f0f4da text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f4da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f4da in the Color Lab