Skip to content

#fcfd7d

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

RGB
252, 253, 125
HSL
61°, 97%, 74%
CMYK
0, 0, 51, 1
Luminance
0.9243

Every format

HEX#fcfd7d
RGBrgb(252, 253, 125)
HSLhsl(61, 97%, 74%)
CMYKcmyk(0%, 0%, 51%, 1%)
LABlab(97.0 -17.0 60.4)
LCHlch(97.0 62.7 105.7)
OKLCHoklch(0.968 0.150 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcfd7d on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fcfd7d on black: 19.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green99.2%
Blue49.0%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow50.6%
Key (black)0.8%

Color previews

#fcfd7d text on a black background

contrast 19.49:1

Card sample

#fcfd7d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd7d in the Color Lab