Skip to content

#fdf4b5

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

RGB
253, 244, 181
HSL
53°, 95%, 85%
CMYK
0, 4, 29, 1
Luminance
0.8892

Every format

HEX#fdf4b5
RGBrgb(253, 244, 181)
HSLhsl(53, 95%, 85%)
CMYKcmyk(0%, 4%, 29%, 1%)
LABlab(95.5 -6.4 31.5)
LCHlch(95.5 32.2 101.4)
OKLCHoklch(0.959 0.081 100.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf4b5 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf4b5 on black: 18.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.7%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow28.5%
Key (black)0.8%

Color previews

#fdf4b5 text on a black background

contrast 18.78:1

Card sample

#fdf4b5 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4b5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4b5 in the Color Lab