Skip to content

#fdf9bd

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

RGB
253, 249, 189
HSL
56°, 94%, 87%
CMYK
0, 2, 25, 1
Luminance
0.9231

Every format

HEX#fdf9bd
RGBrgb(253, 249, 189)
HSLhsl(56, 94%, 87%)
CMYKcmyk(0%, 2%, 25%, 1%)
LABlab(97.0 -7.8 29.4)
LCHlch(97.0 30.4 104.9)
OKLCHoklch(0.971 0.077 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow25.3%
Key (black)0.8%

Color previews

#fdf9bd text on a black background

contrast 19.46:1

Card sample

#fdf9bd text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9bd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9bd in the Color Lab