Skip to content

#fcfd2a

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

RGB
252, 253, 42
HSL
60°, 98%, 58%
CMYK
0, 0, 83, 1
Luminance
0.9111

Every format

HEX#fcfd2a
RGBrgb(252, 253, 42)
HSLhsl(60, 98%, 58%)
CMYKcmyk(0%, 0%, 83%, 1%)
LABlab(96.5 -21.3 88.8)
LCHlch(96.5 91.3 103.5)
OKLCHoklch(0.962 0.203 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue16.5%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow83.4%
Key (black)0.8%

Color previews

#fcfd2a text on a black background

contrast 19.22:1

Card sample

#fcfd2a text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 253, 42, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 253, 42, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcfd2a;
background: linear-gradient(135deg, #fcfd2a, #6FFD2A);

Monochromatic scale

Palettes built from #fcfd2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd2a in the Color Lab