Skip to content

#fdfc2b

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

RGB
253, 252, 43
HSL
60°, 98%, 58%
CMYK
0, 0, 83, 1
Luminance
0.9068

Every format

HEX#fdfc2b
RGBrgb(253, 252, 43)
HSLhsl(60, 98%, 58%)
CMYKcmyk(0%, 0%, 83%, 1%)
LABlab(96.3 -20.4 88.5)
LCHlch(96.3 90.8 103.0)
OKLCHoklch(0.961 0.201 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green98.8%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow83.0%
Key (black)0.8%

Color previews

#fdfc2b text on a black background

contrast 19.14:1

Card sample

#fdfc2b text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdfc2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdfc2b in the Color Lab