Skip to content

#fdf30b

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

RGB
253, 243, 11
HSL
58°, 98%, 52%
CMYK
0, 4, 96, 1
Luminance
0.8501

Every format

HEX#fdf30b
RGBrgb(253, 243, 11)
HSLhsl(58, 98%, 52%)
CMYKcmyk(0%, 4%, 96%, 1%)
LABlab(93.9 -16.6 91.2)
LCHlch(93.9 92.7 100.3)
OKLCHoklch(0.942 0.200 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf30b on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#fdf30b on black: 18.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green95.3%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow95.7%
Key (black)0.8%

Color previews

#fdf30b text on a black background

contrast 18.00:1

Card sample

#fdf30b text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 243, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 243, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdf30b;
background: linear-gradient(135deg, #fdf30b, #66FD0B);

Monochromatic scale

Palettes built from #fdf30b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf30b in the Color Lab