Skip to content

#fdfab5

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

RGB
253, 250, 181
HSL
58°, 95%, 85%
CMYK
0, 1, 29, 1
Luminance
0.9259

Every format

HEX#fdfab5
RGBrgb(253, 250, 181)
HSLhsl(58, 95%, 85%)
CMYKcmyk(0%, 1%, 29%, 1%)
LABlab(97.1 -9.3 33.5)
LCHlch(97.1 34.8 105.6)
OKLCHoklch(0.971 0.087 105.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfab5 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdfab5 on black: 19.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow28.5%
Key (black)0.8%

Color previews

#fdfab5 text on a black background

contrast 19.52:1

Card sample

#fdfab5 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfab5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfab5 in the Color Lab