Skip to content

#fdef15

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

RGB
253, 239, 21
HSL
56°, 98%, 54%
CMYK
0, 6, 92, 1
Luminance
0.8267

Every format

HEX#fdef15
RGBrgb(253, 239, 21)
HSLhsl(56, 98%, 54%)
CMYKcmyk(0%, 6%, 92%, 1%)
LABlab(92.9 -14.5 89.5)
LCHlch(92.9 90.7 99.2)
OKLCHoklch(0.934 0.196 105.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green93.7%
Blue8.2%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow91.7%
Key (black)0.8%

Color previews

#fdef15 text on a black background

contrast 17.53:1

Card sample

#fdef15 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 239, 21, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 239, 21, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdef15;
background: linear-gradient(135deg, #fdef15, #70FD15);

Monochromatic scale

Palettes built from #fdef15

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdef15 in the Color Lab