Skip to content

#fdcc5f

a light, electric yellow · warm · closest name: khaki

RGB
253, 204, 95
HSL
41°, 98%, 68%
CMYK
0, 19, 63, 1
Luminance
0.6489

Every format

HEX#fdcc5f
RGBrgb(253, 204, 95)
HSLhsl(41, 98%, 68%)
CMYKcmyk(0%, 19%, 63%, 1%)
LABlab(84.4 5.7 59.5)
LCHlch(84.4 59.8 84.5)
OKLCHoklch(0.868 0.137 84.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdcc5f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#fdcc5f on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green80.0%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow62.5%
Key (black)0.8%

Color previews

#fdcc5f text on a black background

contrast 13.98:1

Card sample

#fdcc5f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcc5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcc5f in the Color Lab