Skip to content

#fdfd5d

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

RGB
253, 253, 93
HSL
60°, 98%, 68%
CMYK
0, 0, 63, 1
Luminance
0.9192

Every format

HEX#fdfd5d
RGBrgb(253, 253, 93)
HSLhsl(60, 98%, 68%)
CMYKcmyk(0%, 0%, 63%, 1%)
LABlab(96.8 -18.8 73.6)
LCHlch(96.8 76.0 104.3)
OKLCHoklch(0.966 0.176 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfd5d on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdfd5d on black: 19.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.2%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow63.2%
Key (black)0.8%

Color previews

#fdfd5d text on a black background

contrast 19.38:1

Card sample

#fdfd5d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd5d in the Color Lab