Skip to content

#fdfc9f

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

RGB
253, 252, 159
HSL
59°, 96%, 81%
CMYK
0, 0, 37, 1
Luminance
0.9301

Every format

HEX#fdfc9f
RGBrgb(253, 252, 159)
HSLhsl(59, 96%, 81%)
CMYKcmyk(0%, 0%, 37%, 1%)
LABlab(97.2 -12.9 44.7)
LCHlch(97.2 46.5 106.1)
OKLCHoklch(0.972 0.115 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue62.4%

CMYK percentages

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

Color previews

#fdfc9f text on a black background

contrast 19.60:1

Card sample

#fdfc9f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc9f in the Color Lab