Skip to content

#fdf499

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

RGB
253, 244, 153
HSL
55°, 96%, 80%
CMYK
0, 4, 40, 1
Luminance
0.8788

Every format

HEX#fdf499
RGBrgb(253, 244, 153)
HSLhsl(55, 96%, 80%)
CMYKcmyk(0%, 4%, 40%, 1%)
LABlab(95.1 -9.6 44.9)
LCHlch(95.1 45.9 102.1)
OKLCHoklch(0.955 0.113 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green95.7%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow39.5%
Key (black)0.8%

Color previews

#fdf499 text on a black background

contrast 18.58:1

Card sample

#fdf499 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf499

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf499 in the Color Lab