Skip to content

#f9facf

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

RGB
249, 250, 207
HSL
61°, 81%, 90%
CMYK
0, 0, 17, 2
Luminance
0.9302

Every format

HEX#f9facf
RGBrgb(249, 250, 207)
HSLhsl(61, 81%, 90%)
CMYKcmyk(0%, 0%, 17%, 2%)
LABlab(97.2 -7.3 20.6)
LCHlch(97.2 21.8 109.5)
OKLCHoklch(0.974 0.056 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9facf on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f9facf on black: 19.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green98.0%
Blue81.2%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow17.2%
Key (black)2.0%

Color previews

#f9facf text on a black background

contrast 19.60:1

Card sample

#f9facf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9facf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9facf in the Color Lab