Skip to content

#fdfcb5

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

RGB
253, 252, 181
HSL
59°, 95%, 85%
CMYK
0, 0, 29, 1
Luminance
0.9384

Every format

HEX#fdfcb5
RGBrgb(253, 252, 181)
HSLhsl(59, 95%, 85%)
CMYKcmyk(0%, 0%, 29%, 1%)
LABlab(97.6 -10.3 34.2)
LCHlch(97.6 35.8 106.8)
OKLCHoklch(0.975 0.090 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfcb5 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdfcb5 on black: 19.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.8%
Blue71.0%

CMYK percentages

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

Color previews

#fdfcb5 text on a black background

contrast 19.77:1

Card sample

#fdfcb5 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfcb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfcb5 in the Color Lab