Skip to content

#fcfc2c

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

RGB
252, 252, 44
HSL
60°, 97%, 58%
CMYK
0, 0, 83, 1
Luminance
0.9050

Every format

HEX#fcfc2c
RGBrgb(252, 252, 44)
HSLhsl(60, 97%, 58%)
CMYKcmyk(0%, 0%, 83%, 1%)
LABlab(96.2 -20.8 88.2)
LCHlch(96.2 90.6 103.2)
OKLCHoklch(0.960 0.201 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcfc2c on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fcfc2c on black: 19.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green98.8%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow82.5%
Key (black)1.2%

Color previews

#fcfc2c text on a black background

contrast 19.10:1

Card sample

#fcfc2c text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfc2c in the Color Lab