Skip to content

#fdee21

a balanced, electric yellow · cool · closest name: yellow

RGB
253, 238, 33
HSL
56°, 98%, 56%
CMYK
0, 6, 87, 1
Luminance
0.8214

Every format

HEX#fdee21
RGBrgb(253, 238, 33)
HSLhsl(56, 98%, 56%)
CMYKcmyk(0%, 6%, 87%, 1%)
LABlab(92.6 -13.8 87.5)
LCHlch(92.6 88.6 99.0)
OKLCHoklch(0.932 0.192 104.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow87.0%
Key (black)0.8%

Color previews

#fdee21 text on a black background

contrast 17.43:1

Card sample

#fdee21 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 238, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 238, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdee21;
background: linear-gradient(135deg, #fdee21, #79FD21);

Monochromatic scale

Palettes built from #fdee21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdee21 in the Color Lab