Skip to content

#fdf3ad

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

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

Every format

HEX#fdf3ad
RGBrgb(253, 243, 173)
HSLhsl(53, 95%, 84%)
CMYKcmyk(0%, 4%, 32%, 1%)
LABlab(95.2 -6.9 35.0)
LCHlch(95.2 35.7 101.1)
OKLCHoklch(0.956 0.089 101.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf3ad on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf3ad on black: 18.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.3%
Blue67.8%

CMYK percentages

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

Color previews

#fdf3ad text on a black background

contrast 18.60:1

Card sample

#fdf3ad text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf3ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf3ad in the Color Lab