Skip to content

#fcce2f

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

RGB
252, 206, 47
HSL
47°, 97%, 59%
CMYK
0, 18, 81, 1
Luminance
0.6504

Every format

HEX#fcce2f
RGBrgb(252, 206, 47)
HSLhsl(47, 97%, 59%)
CMYKcmyk(0%, 18%, 81%, 1%)
LABlab(84.5 2.1 77.6)
LCHlch(84.5 77.6 88.4)
OKLCHoklch(0.867 0.167 91.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcce2f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#fcce2f on black: 14.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green80.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta18.3%
Yellow81.3%
Key (black)1.2%

Color previews

#fcce2f text on a black background

contrast 14.01:1

Card sample

#fcce2f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcce2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcce2f in the Color Lab