Skip to content

#fdfc4f

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

RGB
253, 252, 79
HSL
60°, 98%, 65%
CMYK
0, 0, 69, 1
Luminance
0.9107

Every format

HEX#fdfc4f
RGBrgb(253, 252, 79)
HSLhsl(60, 98%, 65%)
CMYKcmyk(0%, 0%, 69%, 1%)
LABlab(96.4 -19.1 78.4)
LCHlch(96.4 80.7 103.7)
OKLCHoklch(0.963 0.184 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow68.8%
Key (black)0.8%

Color previews

#fdfc4f text on a black background

contrast 19.21:1

Card sample

#fdfc4f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc4f in the Color Lab