Skip to content

#fdf0bf

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

RGB
253, 240, 191
HSL
47°, 94%, 87%
CMYK
0, 5, 25, 1
Luminance
0.8696

Every format

HEX#fdf0bf
RGBrgb(253, 240, 191)
HSLhsl(47, 94%, 87%)
CMYKcmyk(0%, 5%, 25%, 1%)
LABlab(94.7 -3.1 25.3)
LCHlch(94.7 25.5 96.9)
OKLCHoklch(0.954 0.065 94.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow24.5%
Key (black)0.8%

Color previews

#fdf0bf text on a black background

contrast 18.39:1

Card sample

#fdf0bf text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0bf in the Color Lab