Skip to content

#fdf3af

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

RGB
253, 243, 175
HSL
52°, 95%, 84%
CMYK
0, 4, 31, 1
Luminance
0.8808

Every format

HEX#fdf3af
RGBrgb(253, 243, 175)
HSLhsl(52, 95%, 84%)
CMYKcmyk(0%, 4%, 31%, 1%)
LABlab(95.2 -6.6 34.1)
LCHlch(95.2 34.7 101.0)
OKLCHoklch(0.956 0.087 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.3%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow30.8%
Key (black)0.8%

Color previews

#fdf3af text on a black background

contrast 18.62:1

Card sample

#fdf3af text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf3af in the Color Lab