Skip to content

#fddc5d

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

RGB
253, 220, 93
HSL
48°, 98%, 68%
CMYK
0, 13, 63, 1
Luminance
0.7286

Every format

HEX#fddc5d
RGBrgb(253, 220, 93)
HSLhsl(48, 98%, 68%)
CMYKcmyk(0%, 13%, 63%, 1%)
LABlab(88.4 -2.6 64.7)
LCHlch(88.4 64.8 92.3)
OKLCHoklch(0.899 0.148 94.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fddc5d on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#fddc5d on black: 15.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green86.3%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta13.0%
Yellow63.2%
Key (black)0.8%

Color previews

#fddc5d text on a black background

contrast 15.57:1

Card sample

#fddc5d text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fddc5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fddc5d in the Color Lab