Skip to content

#f8f3db

a pale, vivid yellow · cool · “beige”

RGB
248, 243, 219
HSL
50°, 67%, 92%
CMYK
0, 2, 12, 3
Luminance
0.8917

Every format

HEX#f8f3db
RGBrgb(248, 243, 219)
HSLhsl(50, 67%, 92%)
CMYKcmyk(0%, 2%, 12%, 3%)
LABlab(95.7 -2.3 12.2)
LCHlch(95.7 12.4 100.7)
OKLCHoklch(0.962 0.032 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f8f3db on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f8f3db on black: 18.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green95.3%
Blue85.9%

CMYK percentages

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

Color previews

#f8f3db text on a black background

contrast 18.83:1

Card sample

#f8f3db text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8f3db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8f3db in the Color Lab