Skip to content

#fcff4f

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

RGB
252, 255, 79
HSL
61°, 100%, 66%
CMYK
1, 0, 69, 0
Luminance
0.9278

Every format

HEX#fcff4f
RGBrgb(252, 255, 79)
HSLhsl(61, 100%, 66%)
CMYKcmyk(1%, 0%, 69%, 0%)
LABlab(97.1 -20.9 79.1)
LCHlch(97.1 81.8 104.8)
OKLCHoklch(0.968 0.188 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcff4f on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fcff4f on black: 19.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green100.0%
Blue31.0%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow69.0%
Key (black)0.0%

Color previews

#fcff4f text on a black background

contrast 19.56:1

Card sample

#fcff4f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcff4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcff4f in the Color Lab