Skip to content

#fdf4bf

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

RGB
253, 244, 191
HSL
51°, 94%, 87%
CMYK
0, 4, 25, 1
Luminance
0.8935

Every format

HEX#fdf4bf
RGBrgb(253, 244, 191)
HSLhsl(51, 94%, 87%)
CMYKcmyk(0%, 4%, 25%, 1%)
LABlab(95.7 -5.1 26.7)
LCHlch(95.7 27.2 100.8)
OKLCHoklch(0.961 0.069 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf4bf on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf4bf on black: 18.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue74.9%

CMYK percentages

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

Color previews

#fdf4bf text on a black background

contrast 18.87:1

Card sample

#fdf4bf text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4bf in the Color Lab