Skip to content

#fffc39

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

RGB
255, 252, 57
HSL
59°, 100%, 61%
CMYK
0, 1, 78, 0
Luminance
0.9118

Every format

HEX#fffc39
RGBrgb(255, 252, 57)
HSLhsl(59, 100%, 61%)
CMYKcmyk(0%, 1%, 78%, 0%)
LABlab(96.5 -19.1 85.3)
LCHlch(96.5 87.5 102.6)
OKLCHoklch(0.963 0.195 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffc39 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fffc39 on black: 19.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.8%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow77.6%
Key (black)0.0%

Color previews

#fffc39 text on a black background

contrast 19.24:1

Card sample

#fffc39 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffc39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffc39 in the Color Lab