Skip to content

#fdfb9d

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

RGB
253, 251, 157
HSL
59°, 96%, 80%
CMYK
0, 1, 38, 1
Luminance
0.9231

Every format

HEX#fdfb9d
RGBrgb(253, 251, 157)
HSLhsl(59, 96%, 80%)
CMYKcmyk(0%, 1%, 38%, 1%)
LABlab(97.0 -12.6 45.3)
LCHlch(97.0 47.0 105.6)
OKLCHoklch(0.969 0.116 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.4%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow37.9%
Key (black)0.8%

Color previews

#fdfb9d text on a black background

contrast 19.46:1

Card sample

#fdfb9d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfb9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfb9d in the Color Lab