Skip to content

#fcff2d

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

RGB
252, 255, 45
HSL
61°, 100%, 59%
CMYK
1, 0, 82, 0
Luminance
0.9240

Every format

HEX#fcff2d
RGBrgb(252, 255, 45)
HSLhsl(61, 100%, 59%)
CMYKcmyk(1%, 0%, 82%, 0%)
LABlab(97.0 -22.1 88.6)
LCHlch(97.0 91.3 104.0)
OKLCHoklch(0.966 0.203 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcff2d on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fcff2d on black: 19.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green100.0%
Blue17.6%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow82.4%
Key (black)0.0%

Color previews

#fcff2d text on a black background

contrast 19.48:1

Card sample

#fcff2d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcff2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcff2d in the Color Lab