Skip to content

#fcfd0c

a balanced, electric yellow · cool · “yellow”

RGB
252, 253, 12
HSL
60°, 98%, 52%
CMYK
0, 0, 95, 1
Luminance
0.9097

Every format

HEX#fcfd0c
RGBrgb(252, 253, 12)
HSLhsl(60, 98%, 52%)
CMYKcmyk(0%, 0%, 95%, 1%)
LABlab(96.4 -21.8 93.0)
LCHlch(96.4 95.5 103.2)
OKLCHoklch(0.962 0.209 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.2%
Blue4.7%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow95.3%
Key (black)0.8%

Color previews

#fcfd0c text on a black background

contrast 19.19:1

Card sample

#fcfd0c text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfd0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfd0c in the Color Lab