Skip to content

#f8f2db

a pale, vivid yellow · cool · “beige”

RGB
248, 242, 219
HSL
48°, 67%, 92%
CMYK
0, 2, 12, 3
Luminance
0.8858

Every format

HEX#f8f2db
RGBrgb(248, 242, 219)
HSLhsl(48, 67%, 92%)
CMYKcmyk(0%, 2%, 12%, 3%)
LABlab(95.4 -1.8 11.8)
LCHlch(95.4 11.9 98.6)
OKLCHoklch(0.960 0.031 94.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8f2db on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f8f2db on black: 18.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green94.9%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow11.7%
Key (black)2.7%

Color previews

#f8f2db text on a black background

contrast 18.72:1

Card sample

#f8f2db text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(248, 242, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 242, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8f2db;
background: linear-gradient(135deg, #f8f2db, #EBF8DB);

Monochromatic scale

Palettes built from #f8f2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8f2db in the Color Lab