Skip to content

#fdf49f

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

RGB
253, 244, 159
HSL
54°, 96%, 81%
CMYK
0, 4, 37, 1
Luminance
0.8809

Every format

HEX#fdf49f
RGBrgb(253, 244, 159)
HSLhsl(54, 96%, 81%)
CMYKcmyk(0%, 4%, 37%, 1%)
LABlab(95.2 -9.0 42.0)
LCHlch(95.2 43.0 102.0)
OKLCHoklch(0.956 0.106 103.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue62.4%

CMYK percentages

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

Color previews

#fdf49f text on a black background

contrast 18.62:1

Card sample

#fdf49f text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf49f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf49f in the Color Lab