Skip to content

#fdf92e

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

RGB
253, 249, 46
HSL
59°, 98%, 59%
CMYK
0, 2, 82, 1
Luminance
0.8883

Every format

HEX#fdf92e
RGBrgb(253, 249, 46)
HSLhsl(59, 98%, 59%)
CMYKcmyk(0%, 2%, 82%, 1%)
LABlab(95.5 -18.9 87.2)
LCHlch(95.5 89.2 102.2)
OKLCHoklch(0.955 0.197 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf92e on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fdf92e on black: 18.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.6%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow81.8%
Key (black)0.8%

Color previews

#fdf92e text on a black background

contrast 18.77:1

Card sample

#fdf92e text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 249, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 249, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf92e;
background: linear-gradient(135deg, #fdf92e, #77FD2E);

Monochromatic scale

Palettes built from #fdf92e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf92e in the Color Lab