Skip to content

#fdfd9c

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

RGB
253, 253, 156
HSL
60°, 96%, 80%
CMYK
0, 0, 38, 1
Luminance
0.9353

Every format

HEX#fdfd9c
RGBrgb(253, 253, 156)
HSLhsl(60, 96%, 80%)
CMYKcmyk(0%, 0%, 38%, 1%)
LABlab(97.4 -13.7 46.4)
LCHlch(97.4 48.4 106.4)
OKLCHoklch(0.973 0.119 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow38.3%
Key (black)0.8%

Color previews

#fdfd9c text on a black background

contrast 19.71:1

Card sample

#fdfd9c text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd9c in the Color Lab