Skip to content

#f9f7df

a pale, vivid yellow · cool · “beige”

RGB
249, 247, 223
HSL
55°, 68%, 93%
CMYK
0, 1, 10, 2
Luminance
0.9199

Every format

HEX#f9f7df
RGBrgb(249, 247, 223)
HSLhsl(55, 68%, 93%)
CMYKcmyk(0%, 1%, 10%, 2%)
LABlab(96.8 -3.3 11.8)
LCHlch(96.8 12.2 105.8)
OKLCHoklch(0.971 0.032 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green96.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow10.4%
Key (black)2.4%

Color previews

#f9f7df text on a black background

contrast 19.40:1

Card sample

#f9f7df text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9f7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9f7df in the Color Lab