Skip to content

#fdfd1d

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

RGB
253, 253, 29
HSL
60°, 98%, 55%
CMYK
0, 0, 89, 1
Luminance
0.9122

Every format

HEX#fdfd1d
RGBrgb(253, 253, 29)
HSLhsl(60, 98%, 55%)
CMYKcmyk(0%, 0%, 89%, 1%)
LABlab(96.5 -21.1 91.2)
LCHlch(96.5 93.6 103.0)
OKLCHoklch(0.963 0.206 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfd1d on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fdfd1d on black: 19.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green99.2%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow88.5%
Key (black)0.8%

Color previews

#fdfd1d text on a black background

contrast 19.24:1

Card sample

#fdfd1d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd1d in the Color Lab