Skip to content

#fdfd2f

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

RGB
253, 253, 47
HSL
60°, 98%, 59%
CMYK
0, 0, 81, 1
Luminance
0.9134

Every format

HEX#fdfd2f
RGBrgb(253, 253, 47)
HSLhsl(60, 98%, 59%)
CMYKcmyk(0%, 0%, 81%, 1%)
LABlab(96.5 -20.7 87.8)
LCHlch(96.5 90.3 103.3)
OKLCHoklch(0.963 0.201 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#fdfd2f text on a black background

contrast 19.27:1

Card sample

#fdfd2f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd2f in the Color Lab