Skip to content

#fdfc9d

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

RGB
253, 252, 157
HSL
59°, 96%, 80%
CMYK
0, 0, 38, 1
Luminance
0.9294

Every format

HEX#fdfc9d
RGBrgb(253, 252, 157)
HSLhsl(59, 96%, 80%)
CMYKcmyk(0%, 0%, 38%, 1%)
LABlab(97.2 -13.1 45.6)
LCHlch(97.2 47.5 106.0)
OKLCHoklch(0.971 0.117 107.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue61.6%

CMYK percentages

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

Color previews

#fdfc9d text on a black background

contrast 19.59:1

Card sample

#fdfc9d text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc9d in the Color Lab