Skip to content

#fefd6d

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

RGB
254, 253, 109
HSL
60°, 99%, 71%
CMYK
0, 0, 57, 0
Luminance
0.9243

Every format

HEX#fefd6d
RGBrgb(254, 253, 109)
HSLhsl(60, 99%, 71%)
CMYKcmyk(0%, 0%, 57%, 0%)
LABlab(97.0 -17.4 67.4)
LCHlch(97.0 69.6 104.5)
OKLCHoklch(0.968 0.164 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefd6d on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fefd6d on black: 19.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow57.1%
Key (black)0.4%

Color previews

#fefd6d text on a black background

contrast 19.49:1

Card sample

#fefd6d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 253, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 253, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fefd6d;
background: linear-gradient(135deg, #fefd6d, #9EFE6D);

Monochromatic scale

Palettes built from #fefd6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefd6d in the Color Lab