Skip to content

#fcfc39

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

RGB
252, 252, 57
HSL
60°, 97%, 61%
CMYK
0, 0, 77, 1
Luminance
0.9061

Every format

HEX#fcfc39
RGBrgb(252, 252, 57)
HSLhsl(60, 97%, 61%)
CMYKcmyk(0%, 0%, 77%, 1%)
LABlab(96.3 -20.4 85.1)
LCHlch(96.3 87.5 103.5)
OKLCHoklch(0.961 0.196 109.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green98.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow77.4%
Key (black)1.2%

Color previews

#fcfc39 text on a black background

contrast 19.12:1

Card sample

#fcfc39 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfc39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfc39 in the Color Lab