Skip to content

#f7f8db

a pale, vivid yellow · cool · “beige”

RGB
247, 248, 219
HSL
62°, 67%, 92%
CMYK
0, 0, 12, 3
Luminance
0.9202

Every format

HEX#f7f8db
RGBrgb(247, 248, 219)
HSLhsl(62, 67%, 92%)
CMYKcmyk(0%, 0%, 12%, 3%)
LABlab(96.8 -5.2 13.8)
LCHlch(96.8 14.8 110.4)
OKLCHoklch(0.971 0.038 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7f8db on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#f7f8db on black: 19.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green97.3%
Blue85.9%

CMYK percentages

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

Color previews

#f7f8db text on a black background

contrast 19.40:1

Card sample

#f7f8db text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7f8db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7f8db in the Color Lab