Skip to content

#f9fcad

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

RGB
249, 252, 173
HSL
62°, 93%, 83%
CMYK
1, 0, 31, 1
Luminance
0.9278

Every format

HEX#f9fcad
RGBrgb(249, 252, 173)
HSLhsl(62, 93%, 83%)
CMYKcmyk(1%, 0%, 31%, 1%)
LABlab(97.1 -12.8 37.6)
LCHlch(97.1 39.7 108.8)
OKLCHoklch(0.971 0.099 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green98.8%
Blue67.8%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow31.3%
Key (black)1.2%

Color previews

#f9fcad text on a black background

contrast 19.56:1

Card sample

#f9fcad text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fcad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fcad in the Color Lab