Skip to content

#fcfd02

a balanced, electric yellow · cool · “yellow”

RGB
252, 253, 2
HSL
60°, 98%, 50%
CMYK
0, 0, 99, 1
Luminance
0.9095

Every format

HEX#fcfd02
RGBrgb(252, 253, 2)
HSLhsl(60, 98%, 50%)
CMYKcmyk(0%, 0%, 99%, 1%)
LABlab(96.4 -21.8 93.7)
LCHlch(96.4 96.2 103.1)
OKLCHoklch(0.961 0.210 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue0.8%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow99.2%
Key (black)0.8%

Color previews

#fcfd02 text on a black background

contrast 19.19:1

Card sample

#fcfd02 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd02 in the Color Lab