Skip to content

#fdf1bc

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

RGB
253, 241, 188
HSL
49°, 94%, 87%
CMYK
0, 5, 26, 1
Luminance
0.8742

Every format

HEX#fdf1bc
RGBrgb(253, 241, 188)
HSLhsl(49, 94%, 87%)
CMYKcmyk(0%, 5%, 26%, 1%)
LABlab(94.9 -4.0 27.1)
LCHlch(94.9 27.4 98.3)
OKLCHoklch(0.955 0.069 96.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf1bc on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#fdf1bc on black: 18.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow25.7%
Key (black)0.8%

Color previews

#fdf1bc text on a black background

contrast 18.48:1

Card sample

#fdf1bc text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1bc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1bc in the Color Lab