Skip to content

#fdcc0f

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

RGB
253, 204, 15
HSL
48°, 98%, 53%
CMYK
0, 19, 94, 1
Luminance
0.6410

Every format

HEX#fdcc0f
RGBrgb(253, 204, 15)
HSLhsl(48, 98%, 53%)
CMYKcmyk(0%, 19%, 94%, 1%)
LABlab(84.0 3.0 83.6)
LCHlch(84.0 83.6 88.0)
OKLCHoklch(0.863 0.175 90.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdcc0f on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#fdcc0f on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green80.0%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow94.1%
Key (black)0.8%

Color previews

#fdcc0f text on a black background

contrast 13.82:1

Card sample

#fdcc0f text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcc0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcc0f in the Color Lab