Skip to content

#fdfc0f

a balanced, electric yellow · cool · “yellow”

RGB
253, 252, 15
HSL
60°, 98%, 53%
CMYK
0, 0, 94, 1
Luminance
0.9054

Every format

HEX#fdfc0f
RGBrgb(253, 252, 15)
HSLhsl(60, 98%, 53%)
CMYKcmyk(0%, 0%, 94%, 1%)
LABlab(96.2 -20.8 92.6)
LCHlch(96.2 95.0 102.7)
OKLCHoklch(0.960 0.207 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue5.9%

CMYK percentages

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

Color previews

#fdfc0f text on a black background

contrast 19.11:1

Card sample

#fdfc0f text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc0f in the Color Lab