Skip to content

#fdf9ba

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

RGB
253, 249, 186
HSL
56°, 94%, 86%
CMYK
0, 2, 27, 1
Luminance
0.9218

Every format

HEX#fdf9ba
RGBrgb(253, 249, 186)
HSLhsl(56, 94%, 86%)
CMYKcmyk(0%, 2%, 27%, 1%)
LABlab(96.9 -8.2 30.8)
LCHlch(96.9 31.9 104.9)
OKLCHoklch(0.970 0.080 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow26.5%
Key (black)0.8%

Color previews

#fdf9ba text on a black background

contrast 19.44:1

Card sample

#fdf9ba text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9ba in the Color Lab