Skip to content

#fdfd1f

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

RGB
253, 253, 31
HSL
60°, 98%, 56%
CMYK
0, 0, 88, 1
Luminance
0.9123

Every format

HEX#fdfd1f
RGBrgb(253, 253, 31)
HSLhsl(60, 98%, 56%)
CMYKcmyk(0%, 0%, 88%, 1%)
LABlab(96.5 -21.1 90.9)
LCHlch(96.5 93.3 103.1)
OKLCHoklch(0.963 0.205 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow87.7%
Key (black)0.8%

Color previews

#fdfd1f text on a black background

contrast 19.25:1

Card sample

#fdfd1f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd1f in the Color Lab