Skip to content

#fdcf2d

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

RGB
253, 207, 45
HSL
47°, 98%, 58%
CMYK
0, 18, 82, 1
Luminance
0.6570

Every format

HEX#fdcf2d
RGBrgb(253, 207, 45)
HSLhsl(47, 98%, 58%)
CMYKcmyk(0%, 18%, 82%, 1%)
LABlab(84.8 2.0 78.4)
LCHlch(84.8 78.5 88.6)
OKLCHoklch(0.870 0.168 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green81.2%
Blue17.6%

CMYK percentages

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

Color previews

#fdcf2d text on a black background

contrast 14.14:1

Card sample

#fdcf2d text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcf2d in the Color Lab