Skip to content

#fdf4ad

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

RGB
253, 244, 173
HSL
53°, 95%, 84%
CMYK
0, 4, 32, 1
Luminance
0.8860

Every format

HEX#fdf4ad
RGBrgb(253, 244, 173)
HSLhsl(53, 95%, 84%)
CMYKcmyk(0%, 4%, 32%, 1%)
LABlab(95.4 -7.4 35.4)
LCHlch(95.4 36.1 101.8)
OKLCHoklch(0.958 0.090 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow31.6%
Key (black)0.8%

Color previews

#fdf4ad text on a black background

contrast 18.72:1

Card sample

#fdf4ad text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf4ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf4ad in the Color Lab