Skip to content

#fdfc4d

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

RGB
253, 252, 77
HSL
60°, 98%, 65%
CMYK
0, 0, 70, 1
Luminance
0.9104

Every format

HEX#fdfc4d
RGBrgb(253, 252, 77)
HSLhsl(60, 98%, 65%)
CMYKcmyk(0%, 0%, 70%, 1%)
LABlab(96.4 -19.2 79.1)
LCHlch(96.4 81.4 103.6)
OKLCHoklch(0.963 0.186 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow69.6%
Key (black)0.8%

Color previews

#fdfc4d text on a black background

contrast 19.21:1

Card sample

#fdfc4d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc4d in the Color Lab