Skip to content

#fcda2d

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

RGB
252, 218, 45
HSL
50°, 97%, 58%
CMYK
0, 14, 82, 1
Luminance
0.7103

Every format

HEX#fcda2d
RGBrgb(252, 218, 45)
HSLhsl(50, 97%, 58%)
CMYKcmyk(0%, 14%, 82%, 1%)
LABlab(87.5 -4.0 80.7)
LCHlch(87.5 80.8 92.9)
OKLCHoklch(0.891 0.174 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcda2d on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#fcda2d on black: 15.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green85.5%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta13.5%
Yellow82.1%
Key (black)1.2%

Color previews

#fcda2d text on a black background

contrast 15.21:1

Card sample

#fcda2d text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 218, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 218, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcda2d;
background: linear-gradient(135deg, #fcda2d, #94FC2D);

Monochromatic scale

Palettes built from #fcda2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcda2d in the Color Lab