Skip to content

#fdf5ad

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

RGB
253, 245, 173
HSL
54°, 95%, 84%
CMYK
0, 3, 32, 1
Luminance
0.8920

Every format

HEX#fdf5ad
RGBrgb(253, 245, 173)
HSLhsl(54, 95%, 84%)
CMYKcmyk(0%, 3%, 32%, 1%)
LABlab(95.7 -7.9 35.7)
LCHlch(95.7 36.6 102.4)
OKLCHoklch(0.960 0.091 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf5ad on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf5ad on black: 18.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.1%
Blue67.8%

CMYK percentages

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

Color previews

#fdf5ad text on a black background

contrast 18.84:1

Card sample

#fdf5ad text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf5ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf5ad in the Color Lab