Skip to content

#fdf3b1

a light, electric yellow · cool · closest name: khaki

RGB
253, 243, 177
HSL
52°, 95%, 84%
CMYK
0, 4, 30, 1
Luminance
0.8816

Every format

HEX#fdf3b1
RGBrgb(253, 243, 177)
HSLhsl(52, 95%, 84%)
CMYKcmyk(0%, 4%, 30%, 1%)
LABlab(95.2 -6.4 33.1)
LCHlch(95.2 33.7 100.9)
OKLCHoklch(0.957 0.084 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.3%
Blue69.4%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow30.0%
Key (black)0.8%

Color previews

#fdf3b1 text on a black background

contrast 18.63:1

Card sample

#fdf3b1 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf3b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf3b1 in the Color Lab