Skip to content

#fdfc0d

a balanced, electric yellow · cool · “yellow”

RGB
253, 252, 13
HSL
60°, 98%, 52%
CMYK
0, 0, 95, 1
Luminance
0.9053

Every format

HEX#fdfc0d
RGBrgb(253, 252, 13)
HSLhsl(60, 98%, 52%)
CMYKcmyk(0%, 0%, 95%, 1%)
LABlab(96.2 -20.9 92.8)
LCHlch(96.2 95.1 102.7)
OKLCHoklch(0.960 0.208 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow94.9%
Key (black)0.8%

Color previews

#fdfc0d text on a black background

contrast 19.11:1

Card sample

#fdfc0d text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 252, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 252, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdfc0d;
background: linear-gradient(135deg, #fdfc0d, #5EFD0D);

Monochromatic scale

Palettes built from #fdfc0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc0d in the Color Lab