Skip to content

#f9f2df

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

RGB
249, 242, 223
HSL
44°, 68%, 93%
CMYK
0, 3, 10, 2
Luminance
0.8897

Every format

HEX#f9f2df
RGBrgb(249, 242, 223)
HSLhsl(44, 68%, 93%)
CMYKcmyk(0%, 3%, 10%, 2%)
LABlab(95.6 -0.8 10.0)
LCHlch(95.6 10.0 94.6)
OKLCHoklch(0.962 0.026 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green94.9%
Blue87.5%

CMYK percentages

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

Color previews

#f9f2df text on a black background

contrast 18.79:1

Card sample

#f9f2df text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9f2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9f2df in the Color Lab