Skip to content

#fcfd2f

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

RGB
252, 253, 47
HSL
60°, 98%, 59%
CMYK
0, 0, 81, 1
Luminance
0.9115

Every format

HEX#fcfd2f
RGBrgb(252, 253, 47)
HSLhsl(60, 98%, 59%)
CMYKcmyk(0%, 0%, 81%, 1%)
LABlab(96.5 -21.1 87.7)
LCHlch(96.5 90.3 103.6)
OKLCHoklch(0.962 0.201 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue18.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#fcfd2f text on a black background

contrast 19.23:1

Card sample

#fcfd2f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd2f in the Color Lab