Skip to content

#fdf0bc

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

RGB
253, 240, 188
HSL
48°, 94%, 87%
CMYK
0, 5, 26, 1
Luminance
0.8683

Every format

HEX#fdf0bc
RGBrgb(253, 240, 188)
HSLhsl(48, 94%, 87%)
CMYKcmyk(0%, 5%, 26%, 1%)
LABlab(94.7 -3.5 26.8)
LCHlch(94.7 27.0 97.4)
OKLCHoklch(0.953 0.068 95.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.1%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow25.7%
Key (black)0.8%

Color previews

#fdf0bc text on a black background

contrast 18.37:1

Card sample

#fdf0bc text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0bc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0bc in the Color Lab