Skip to content

#fdf215

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

RGB
253, 242, 21
HSL
57°, 98%, 54%
CMYK
0, 4, 92, 1
Luminance
0.8444

Every format

HEX#fdf215
RGBrgb(253, 242, 21)
HSLhsl(57, 98%, 54%)
CMYKcmyk(0%, 4%, 92%, 1%)
LABlab(93.6 -16.0 90.1)
LCHlch(93.6 91.5 100.1)
OKLCHoklch(0.940 0.198 106.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf215 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#fdf215 on black: 17.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.9%
Blue8.2%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow91.7%
Key (black)0.8%

Color previews

#fdf215 text on a black background

contrast 17.89:1

Card sample

#fdf215 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf215

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf215 in the Color Lab