Skip to content

#fffc3f

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

RGB
255, 252, 63
HSL
59°, 100%, 62%
CMYK
0, 1, 75, 0
Luminance
0.9124

Every format

HEX#fffc3f
RGBrgb(255, 252, 63)
HSLhsl(59, 100%, 62%)
CMYKcmyk(0%, 1%, 75%, 0%)
LABlab(96.5 -18.9 83.7)
LCHlch(96.5 85.8 102.8)
OKLCHoklch(0.963 0.193 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow75.3%
Key (black)0.0%

Color previews

#fffc3f text on a black background

contrast 19.25:1

Card sample

#fffc3f text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffc3f in the Color Lab