Skip to content

#fffc47

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

RGB
255, 252, 71
HSL
59°, 100%, 64%
CMYK
0, 1, 72, 0
Luminance
0.9134

Every format

HEX#fffc47
RGBrgb(255, 252, 71)
HSLhsl(59, 100%, 64%)
CMYKcmyk(0%, 1%, 72%, 0%)
LABlab(96.5 -18.6 81.3)
LCHlch(96.5 83.4 102.9)
OKLCHoklch(0.964 0.189 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue27.8%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow72.2%
Key (black)0.0%

Color previews

#fffc47 text on a black background

contrast 19.27:1

Card sample

#fffc47 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffc47

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffc47 in the Color Lab