Skip to content

#fdf10e

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

RGB
253, 241, 14
HSL
57°, 98%, 52%
CMYK
0, 5, 95, 1
Luminance
0.8382

Every format

HEX#fdf10e
RGBrgb(253, 241, 14)
HSLhsl(57, 98%, 52%)
CMYKcmyk(0%, 5%, 95%, 1%)
LABlab(93.4 -15.6 90.6)
LCHlch(93.4 91.9 99.7)
OKLCHoklch(0.938 0.198 105.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf10e on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#fdf10e on black: 17.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.5%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow94.5%
Key (black)0.8%

Color previews

#fdf10e text on a black background

contrast 17.76:1

Card sample

#fdf10e text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf10e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf10e in the Color Lab