Skip to content

#fdf4b8

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

RGB
253, 244, 184
HSL
52°, 95%, 86%
CMYK
0, 4, 27, 1
Luminance
0.8904

Every format

HEX#fdf4b8
RGBrgb(253, 244, 184)
HSLhsl(52, 95%, 86%)
CMYKcmyk(0%, 4%, 27%, 1%)
LABlab(95.6 -6.0 30.1)
LCHlch(95.6 30.7 101.3)
OKLCHoklch(0.960 0.077 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow27.3%
Key (black)0.8%

Color previews

#fdf4b8 text on a black background

contrast 18.81:1

Card sample

#fdf4b8 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4b8 in the Color Lab