Skip to content

#fdcf2c

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

RGB
253, 207, 44
HSL
47°, 98%, 58%
CMYK
0, 18, 83, 1
Luminance
0.6569

Every format

HEX#fdcf2c
RGBrgb(253, 207, 44)
HSLhsl(47, 98%, 58%)
CMYKcmyk(0%, 18%, 83%, 1%)
LABlab(84.8 1.9 78.7)
LCHlch(84.8 78.7 88.6)
OKLCHoklch(0.870 0.169 91.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdcf2c on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#fdcf2c on black: 14.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green81.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta18.2%
Yellow82.6%
Key (black)0.8%

Color previews

#fdcf2c text on a black background

contrast 14.14:1

Card sample

#fdcf2c text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcf2c in the Color Lab