Skip to content

#fdcf2f

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

RGB
253, 207, 47
HSL
47°, 98%, 59%
CMYK
0, 18, 81, 1
Luminance
0.6571

Every format

HEX#fdcf2f
RGBrgb(253, 207, 47)
HSLhsl(47, 98%, 59%)
CMYKcmyk(0%, 18%, 81%, 1%)
LABlab(84.8 2.0 77.9)
LCHlch(84.8 77.9 88.5)
OKLCHoklch(0.870 0.167 91.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green81.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta18.2%
Yellow81.4%
Key (black)0.8%

Color previews

#fdcf2f text on a black background

contrast 14.14:1

Card sample

#fdcf2f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcf2f in the Color Lab