Skip to content

#fdf10b

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

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

Every format

HEX#fdf10b
RGBrgb(253, 241, 11)
HSLhsl(57, 98%, 52%)
CMYKcmyk(0%, 5%, 96%, 1%)
LABlab(93.4 -15.6 90.8)
LCHlch(93.4 92.2 99.7)
OKLCHoklch(0.938 0.199 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow95.7%
Key (black)0.8%

Color previews

#fdf10b text on a black background

contrast 17.76:1

Card sample

#fdf10b text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf10b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf10b in the Color Lab