Skip to content

#fdf984

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

RGB
253, 249, 132
HSL
58°, 97%, 76%
CMYK
0, 2, 48, 1
Luminance
0.9030

Every format

HEX#fdf984
RGBrgb(253, 249, 132)
HSLhsl(58, 97%, 76%)
CMYKcmyk(0%, 2%, 48%, 1%)
LABlab(96.1 -14.1 56.2)
LCHlch(96.1 57.9 104.1)
OKLCHoklch(0.962 0.139 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf984 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdf984 on black: 19.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.6%
Blue51.8%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow47.8%
Key (black)0.8%

Color previews

#fdf984 text on a black background

contrast 19.06:1

Card sample

#fdf984 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf984

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf984 in the Color Lab