Skip to content

#f9fcc2

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

RGB
249, 252, 194
HSL
63°, 91%, 88%
CMYK
1, 0, 23, 1
Luminance
0.9366

Every format

HEX#f9fcc2
RGBrgb(249, 252, 194)
HSLhsl(63, 91%, 88%)
CMYKcmyk(1%, 0%, 23%, 1%)
LABlab(97.5 -10.1 27.5)
LCHlch(97.5 29.3 110.1)
OKLCHoklch(0.975 0.074 110.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9fcc2 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f9fcc2 on black: 19.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green98.8%
Blue76.1%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow23.0%
Key (black)1.2%

Color previews

#f9fcc2 text on a black background

contrast 19.73:1

Card sample

#f9fcc2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fcc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fcc2 in the Color Lab