Skip to content

#fdf803

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

RGB
253, 248, 3
HSL
59°, 98%, 50%
CMYK
0, 2, 99, 1
Luminance
0.8802

Every format

HEX#fdf803
RGBrgb(253, 248, 3)
HSLhsl(59, 98%, 50%)
CMYKcmyk(0%, 2%, 99%, 1%)
LABlab(95.2 -19.0 92.8)
LCHlch(95.2 94.7 101.6)
OKLCHoklch(0.952 0.205 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf803 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fdf803 on black: 18.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green97.3%
Blue1.2%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow98.8%
Key (black)0.8%

Color previews

#fdf803 text on a black background

contrast 18.60:1

Card sample

#fdf803 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf803

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf803 in the Color Lab