Skip to content

#fdfc3b

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

RGB
253, 252, 59
HSL
60°, 98%, 61%
CMYK
0, 0, 77, 1
Luminance
0.9082

Every format

HEX#fdfc3b
RGBrgb(253, 252, 59)
HSLhsl(60, 98%, 61%)
CMYKcmyk(0%, 0%, 77%, 1%)
LABlab(96.3 -19.9 84.6)
LCHlch(96.3 86.9 103.2)
OKLCHoklch(0.962 0.195 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdfc3b on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fdfc3b on black: 19.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green98.8%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow76.7%
Key (black)0.8%

Color previews

#fdfc3b text on a black background

contrast 19.16:1

Card sample

#fdfc3b text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 252, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 252, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdfc3b;
background: linear-gradient(135deg, #fdfc3b, #7DFD3B);

Monochromatic scale

Palettes built from #fdfc3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc3b in the Color Lab