Skip to content

#fdcf5f

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

RGB
253, 207, 95
HSL
43°, 98%, 68%
CMYK
0, 18, 63, 1
Luminance
0.6633

Every format

HEX#fdcf5f
RGBrgb(253, 207, 95)
HSLhsl(43, 98%, 68%)
CMYKcmyk(0%, 18%, 63%, 1%)
LABlab(85.2 4.2 60.3)
LCHlch(85.2 60.5 86.0)
OKLCHoklch(0.874 0.139 86.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdcf5f on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#fdcf5f on black: 14.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green81.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta18.2%
Yellow62.5%
Key (black)0.8%

Color previews

#fdcf5f text on a black background

contrast 14.27:1

Card sample

#fdcf5f text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdcf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdcf5f in the Color Lab