Skip to content

#f9f3dc

a pale, vivid yellow · cool · “beige”

RGB
249, 243, 220
HSL
48°, 71%, 92%
CMYK
0, 2, 12, 2
Luminance
0.8941

Every format

HEX#f9f3dc
RGBrgb(249, 243, 220)
HSLhsl(48, 71%, 92%)
CMYKcmyk(0%, 2%, 12%, 2%)
LABlab(95.8 -1.8 11.8)
LCHlch(95.8 11.9 98.6)
OKLCHoklch(0.963 0.031 94.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green95.3%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow11.6%
Key (black)2.4%

Color previews

#f9f3dc text on a black background

contrast 18.88:1

Card sample

#f9f3dc text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9f3dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9f3dc in the Color Lab