Skip to content

#fdf6ad

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

RGB
253, 246, 173
HSL
55°, 95%, 84%
CMYK
0, 3, 32, 1
Luminance
0.8981

Every format

HEX#fdf6ad
RGBrgb(253, 246, 173)
HSLhsl(55, 95%, 84%)
CMYKcmyk(0%, 3%, 32%, 1%)
LABlab(95.9 -8.3 36.0)
LCHlch(95.9 37.0 103.0)
OKLCHoklch(0.962 0.092 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green96.5%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow31.6%
Key (black)0.8%

Color previews

#fdf6ad text on a black background

contrast 18.96:1

Card sample

#fdf6ad text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf6ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf6ad in the Color Lab