Skip to content

#fcfd9f

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

RGB
252, 253, 159
HSL
61°, 96%, 81%
CMYK
0, 0, 37, 1
Luminance
0.9345

Every format

HEX#fcfd9f
RGBrgb(252, 253, 159)
HSLhsl(61, 96%, 81%)
CMYKcmyk(0%, 0%, 37%, 1%)
LABlab(97.4 -13.8 44.9)
LCHlch(97.4 46.9 107.0)
OKLCHoklch(0.973 0.116 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue62.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow37.2%
Key (black)0.8%

Color previews

#fcfd9f text on a black background

contrast 19.69:1

Card sample

#fcfd9f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd9f in the Color Lab