Skip to content

#f9fcb2

a light, electric yellow · cool · closest name: khaki

RGB
249, 252, 178
HSL
62°, 93%, 84%
CMYK
1, 0, 29, 1
Luminance
0.9297

Every format

HEX#f9fcb2
RGBrgb(249, 252, 178)
HSLhsl(62, 93%, 84%)
CMYKcmyk(1%, 0%, 29%, 1%)
LABlab(97.2 -12.2 35.2)
LCHlch(97.2 37.3 109.1)
OKLCHoklch(0.972 0.093 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green98.8%
Blue69.8%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow29.4%
Key (black)1.2%

Color previews

#f9fcb2 text on a black background

contrast 19.59:1

Card sample

#f9fcb2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fcb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fcb2 in the Color Lab