Skip to content

#fdf975

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

RGB
253, 249, 117
HSL
58°, 97%, 73%
CMYK
0, 2, 54, 1
Luminance
0.8992

Every format

HEX#fdf975
RGBrgb(253, 249, 117)
HSLhsl(58, 97%, 73%)
CMYKcmyk(0%, 2%, 54%, 1%)
LABlab(96.0 -15.3 62.8)
LCHlch(96.0 64.6 103.7)
OKLCHoklch(0.960 0.153 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green97.6%
Blue45.9%

CMYK percentages

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

Color previews

#fdf975 text on a black background

contrast 18.98:1

Card sample

#fdf975 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf975

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf975 in the Color Lab