Skip to content

#fdf4b7

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

RGB
253, 244, 183
HSL
52°, 95%, 86%
CMYK
0, 4, 28, 1
Luminance
0.8900

Every format

HEX#fdf4b7
RGBrgb(253, 244, 183)
HSLhsl(52, 95%, 86%)
CMYKcmyk(0%, 4%, 28%, 1%)
LABlab(95.6 -6.1 30.6)
LCHlch(95.6 31.2 101.3)
OKLCHoklch(0.960 0.078 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue71.8%

CMYK percentages

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

Color previews

#fdf4b7 text on a black background

contrast 18.80:1

Card sample

#fdf4b7 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4b7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4b7 in the Color Lab