Skip to content

#fdfd0c

a balanced, electric yellow · cool · “yellow”

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

Every format

HEX#fdfd0c
RGBrgb(253, 253, 12)
HSLhsl(60, 98%, 52%)
CMYKcmyk(0%, 0%, 95%, 1%)
LABlab(96.5 -21.3 93.1)
LCHlch(96.5 95.5 102.9)
OKLCHoklch(0.962 0.208 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green99.2%
Blue4.7%

CMYK percentages

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

Color previews

#fdfd0c text on a black background

contrast 19.23:1

Card sample

#fdfd0c text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfd0c in the Color Lab