Skip to content

#fefd16

a balanced, electric yellow · cool · “yellow”

RGB
254, 253, 22
HSL
60°, 99%, 54%
CMYK
0, 0, 91, 0
Luminance
0.9138

Every format

HEX#fefd16
RGBrgb(254, 253, 22)
HSLhsl(60, 99%, 54%)
CMYKcmyk(0%, 0%, 91%, 0%)
LABlab(96.6 -20.8 92.2)
LCHlch(96.6 94.5 102.7)
OKLCHoklch(0.963 0.207 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefd16 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fefd16 on black: 19.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow91.3%
Key (black)0.4%

Color previews

#fefd16 text on a black background

contrast 19.28:1

Card sample

#fefd16 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefd16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefd16 in the Color Lab