Skip to content

#fdfd0d

a balanced, electric yellow · cool · “yellow”

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

Every format

HEX#fdfd0d
RGBrgb(253, 253, 13)
HSLhsl(60, 98%, 52%)
CMYKcmyk(0%, 0%, 95%, 1%)
LABlab(96.5 -21.3 93.0)
LCHlch(96.5 95.4 102.9)
OKLCHoklch(0.962 0.208 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue5.1%

CMYK percentages

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

Color previews

#fdfd0d text on a black background

contrast 19.23:1

Card sample

#fdfd0d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd0d in the Color Lab