Skip to content

#f9fecf

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

RGB
249, 254, 207
HSL
66°, 96%, 90%
CMYK
2, 0, 19, 0
Luminance
0.9553

Every format

HEX#f9fecf
RGBrgb(249, 254, 207)
HSLhsl(66, 96%, 90%)
CMYKcmyk(2%, 0%, 19%, 0%)
LABlab(98.2 -9.3 22.0)
LCHlch(98.2 23.9 112.8)
OKLCHoklch(0.982 0.061 112.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9fecf on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#f9fecf on black: 20.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green99.6%
Blue81.2%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow18.5%
Key (black)0.4%

Color previews

#f9fecf text on a black background

contrast 20.11:1

Card sample

#f9fecf text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fecf in the Color Lab