Skip to content

#fdf2bf

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

RGB
253, 242, 191
HSL
49°, 94%, 87%
CMYK
0, 4, 25, 1
Luminance
0.8815

Every format

HEX#fdf2bf
RGBrgb(253, 242, 191)
HSLhsl(49, 94%, 87%)
CMYKcmyk(0%, 4%, 25%, 1%)
LABlab(95.2 -4.1 26.0)
LCHlch(95.2 26.3 98.9)
OKLCHoklch(0.957 0.067 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf2bf on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf2bf on black: 18.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow24.5%
Key (black)0.8%

Color previews

#fdf2bf text on a black background

contrast 18.63:1

Card sample

#fdf2bf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2bf in the Color Lab