Skip to content

#fdf9bf

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

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

Every format

HEX#fdf9bf
RGBrgb(253, 249, 191)
HSLhsl(56, 94%, 87%)
CMYKcmyk(0%, 2%, 25%, 1%)
LABlab(97.0 -7.6 28.4)
LCHlch(97.0 29.4 104.9)
OKLCHoklch(0.971 0.074 104.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue74.9%

CMYK percentages

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

Color previews

#fdf9bf text on a black background

contrast 19.48:1

Card sample

#fdf9bf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf9bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf9bf in the Color Lab