Skip to content

#fdfc8d

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

RGB
253, 252, 141
HSL
60°, 97%, 77%
CMYK
0, 0, 44, 1
Luminance
0.9243

Every format

HEX#fdfc8d
RGBrgb(253, 252, 141)
HSLhsl(60, 97%, 77%)
CMYKcmyk(0%, 0%, 44%, 1%)
LABlab(97.0 -14.7 53.0)
LCHlch(97.0 55.0 105.5)
OKLCHoklch(0.969 0.134 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue55.3%

CMYK percentages

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

Color previews

#fdfc8d text on a black background

contrast 19.49:1

Card sample

#fdfc8d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc8d in the Color Lab