Skip to content

#fcfd2d

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

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

Every format

HEX#fcfd2d
RGBrgb(252, 253, 45)
HSLhsl(60, 98%, 58%)
CMYKcmyk(0%, 0%, 82%, 1%)
LABlab(96.5 -21.2 88.2)
LCHlch(96.5 90.7 103.5)
OKLCHoklch(0.962 0.202 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue17.6%

CMYK percentages

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

Color previews

#fcfd2d text on a black background

contrast 19.23:1

Card sample

#fcfd2d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd2d in the Color Lab