Skip to content

#fdfc99

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

RGB
253, 252, 153
HSL
59°, 96%, 80%
CMYK
0, 0, 40, 1
Luminance
0.9280

Every format

HEX#fdfc99
RGBrgb(253, 252, 153)
HSLhsl(59, 96%, 80%)
CMYKcmyk(0%, 0%, 40%, 1%)
LABlab(97.2 -13.5 47.5)
LCHlch(97.2 49.4 105.9)
OKLCHoklch(0.971 0.121 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow39.5%
Key (black)0.8%

Color previews

#fdfc99 text on a black background

contrast 19.56:1

Card sample

#fdfc99 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc99 in the Color Lab