Skip to content

#fbdf0d

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

RGB
251, 223, 13
HSL
53°, 97%, 52%
CMYK
0, 11, 95, 2
Luminance
0.7331

Every format

HEX#fbdf0d
RGBrgb(251, 223, 13)
HSLhsl(53, 97%, 52%)
CMYKcmyk(0%, 11%, 95%, 2%)
LABlab(88.6 -7.5 87.1)
LCHlch(88.6 87.4 94.9)
OKLCHoklch(0.899 0.185 100.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbdf0d on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#fbdf0d on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green87.5%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow94.8%
Key (black)1.6%

Color previews

#fbdf0d text on a black background

contrast 15.66:1

Card sample

#fbdf0d text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(251, 223, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 223, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fbdf0d;
background: linear-gradient(135deg, #fbdf0d, #79FB0D);

Monochromatic scale

Palettes built from #fbdf0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbdf0d in the Color Lab