Skip to content

#fdf103

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

RGB
253, 241, 3
HSL
57°, 98%, 50%
CMYK
0, 5, 99, 1
Luminance
0.8380

Every format

HEX#fdf103
RGBrgb(253, 241, 3)
HSLhsl(57, 98%, 50%)
CMYKcmyk(0%, 5%, 99%, 1%)
LABlab(93.4 -15.6 91.4)
LCHlch(93.4 92.8 99.7)
OKLCHoklch(0.938 0.200 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue1.2%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow98.8%
Key (black)0.8%

Color previews

#fdf103 text on a black background

contrast 17.76:1

Card sample

#fdf103 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf103

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf103 in the Color Lab