Skip to content

#fdfc2d

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

RGB
253, 252, 45
HSL
60°, 98%, 58%
CMYK
0, 0, 82, 1
Luminance
0.9069

Every format

HEX#fdfc2d
RGBrgb(253, 252, 45)
HSLhsl(60, 98%, 58%)
CMYKcmyk(0%, 0%, 82%, 1%)
LABlab(96.3 -20.3 88.1)
LCHlch(96.3 90.4 103.0)
OKLCHoklch(0.961 0.200 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow82.2%
Key (black)0.8%

Color previews

#fdfc2d text on a black background

contrast 19.14:1

Card sample

#fdfc2d text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc2d in the Color Lab