Skip to content

#fdf974

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

RGB
253, 249, 116
HSL
58°, 97%, 72%
CMYK
0, 2, 54, 1
Luminance
0.8989

Every format

HEX#fdf974
RGBrgb(253, 249, 116)
HSLhsl(58, 97%, 72%)
CMYKcmyk(0%, 2%, 54%, 1%)
LABlab(96.0 -15.4 63.2)
LCHlch(96.0 65.0 103.7)
OKLCHoklch(0.960 0.154 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue45.5%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow54.2%
Key (black)0.8%

Color previews

#fdf974 text on a black background

contrast 18.98:1

Card sample

#fdf974 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf974

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf974 in the Color Lab