Skip to content

#fdec7f

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

RGB
253, 236, 127
HSL
52°, 97%, 75%
CMYK
0, 7, 50, 1
Luminance
0.8241

Every format

HEX#fdec7f
RGBrgb(253, 236, 127)
HSLhsl(52, 97%, 75%)
CMYKcmyk(0%, 7%, 50%, 1%)
LABlab(92.8 -8.1 54.5)
LCHlch(92.8 55.0 98.5)
OKLCHoklch(0.935 0.131 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdec7f on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#fdec7f on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green92.5%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow49.8%
Key (black)0.8%

Color previews

#fdec7f text on a black background

contrast 17.48:1

Card sample

#fdec7f text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdec7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdec7f in the Color Lab