Skip to content

#f9f2db

a pale, vivid yellow · cool · closest name: beige

RGB
249, 242, 219
HSL
46°, 71%, 92%
CMYK
0, 3, 12, 2
Luminance
0.8876

Every format

HEX#f9f2db
RGBrgb(249, 242, 219)
HSLhsl(46, 71%, 92%)
CMYKcmyk(0%, 3%, 12%, 2%)
LABlab(95.5 -1.4 11.9)
LCHlch(95.5 12.0 96.9)
OKLCHoklch(0.961 0.031 92.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green94.9%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow12.0%
Key (black)2.4%

Color previews

#f9f2db text on a black background

contrast 18.75:1

Card sample

#f9f2db text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9f2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9f2db in the Color Lab