Skip to content

#fcff2f

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

RGB
252, 255, 47
HSL
61°, 100%, 59%
CMYK
1, 0, 82, 0
Luminance
0.9242

Every format

HEX#fcff2f
RGBrgb(252, 255, 47)
HSLhsl(61, 100%, 59%)
CMYKcmyk(1%, 0%, 82%, 0%)
LABlab(97.0 -22.1 88.2)
LCHlch(97.0 90.9 104.1)
OKLCHoklch(0.967 0.203 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue18.4%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#fcff2f text on a black background

contrast 19.48:1

Card sample

#fcff2f text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcff2f in the Color Lab