Skip to content

#fcfe2d

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

RGB
252, 254, 45
HSL
61°, 99%, 59%
CMYK
1, 0, 82, 0
Luminance
0.9177

Every format

HEX#fcfe2d
RGBrgb(252, 254, 45)
HSLhsl(61, 99%, 59%)
CMYKcmyk(1%, 0%, 82%, 0%)
LABlab(96.7 -21.7 88.4)
LCHlch(96.7 91.0 103.8)
OKLCHoklch(0.964 0.202 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow82.3%
Key (black)0.4%

Color previews

#fcfe2d text on a black background

contrast 19.35:1

Card sample

#fcfe2d text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfe2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfe2d in the Color Lab