Skip to content

#fdf013

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

RGB
253, 240, 19
HSL
57°, 98%, 53%
CMYK
0, 5, 93, 1
Luminance
0.8325

Every format

HEX#fdf013
RGBrgb(253, 240, 19)
HSLhsl(57, 98%, 53%)
CMYKcmyk(0%, 5%, 93%, 1%)
LABlab(93.1 -15.0 89.9)
LCHlch(93.1 91.2 99.5)
OKLCHoklch(0.936 0.197 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf013 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#fdf013 on black: 17.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow92.5%
Key (black)0.8%

Color previews

#fdf013 text on a black background

contrast 17.65:1

Card sample

#fdf013 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf013

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf013 in the Color Lab