Skip to content

#fdfc0c

a balanced, electric yellow · cool · “yellow”

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

Every format

HEX#fdfc0c
RGBrgb(253, 252, 12)
HSLhsl(60, 98%, 52%)
CMYKcmyk(0%, 0%, 95%, 1%)
LABlab(96.2 -20.9 92.9)
LCHlch(96.2 95.2 102.7)
OKLCHoklch(0.960 0.208 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow95.3%
Key (black)0.8%

Color previews

#fdfc0c text on a black background

contrast 19.11:1

Card sample

#fdfc0c text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc0c in the Color Lab