Skip to content

#fdcd5f

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

RGB
253, 205, 95
HSL
42°, 98%, 68%
CMYK
0, 19, 63, 1
Luminance
0.6537

Every format

HEX#fdcd5f
RGBrgb(253, 205, 95)
HSLhsl(42, 98%, 68%)
CMYKcmyk(0%, 19%, 63%, 1%)
LABlab(84.7 5.2 59.8)
LCHlch(84.7 60.0 85.0)
OKLCHoklch(0.870 0.138 85.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green80.4%
Blue37.3%

CMYK percentages

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

Color previews

#fdcd5f text on a black background

contrast 14.07:1

Card sample

#fdcd5f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcd5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcd5f in the Color Lab