Skip to content

#fcfd8d

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

RGB
252, 253, 141
HSL
61°, 97%, 77%
CMYK
0, 0, 44, 1
Luminance
0.9287

Every format

HEX#fcfd8d
RGBrgb(252, 253, 141)
HSLhsl(61, 97%, 77%)
CMYKcmyk(0%, 0%, 44%, 1%)
LABlab(97.2 -15.6 53.2)
LCHlch(97.2 55.4 106.3)
OKLCHoklch(0.970 0.135 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue55.3%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow44.3%
Key (black)0.8%

Color previews

#fcfd8d text on a black background

contrast 19.57:1

Card sample

#fcfd8d text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd8d in the Color Lab