Skip to content

#fdf5bf

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

RGB
253, 245, 191
HSL
52°, 94%, 87%
CMYK
0, 3, 25, 1
Luminance
0.8995

Every format

HEX#fdf5bf
RGBrgb(253, 245, 191)
HSLhsl(52, 94%, 87%)
CMYKcmyk(0%, 3%, 25%, 1%)
LABlab(96.0 -5.6 27.0)
LCHlch(96.0 27.6 101.7)
OKLCHoklch(0.963 0.070 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.1%
Blue74.9%

CMYK percentages

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

Color previews

#fdf5bf text on a black background

contrast 18.99:1

Card sample

#fdf5bf text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5bf in the Color Lab