Skip to content

#fbdf4d

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

RGB
251, 223, 77
HSL
50°, 96%, 64%
CMYK
0, 11, 69, 2
Luminance
0.7382

Every format

HEX#fbdf4d
RGBrgb(251, 223, 77)
HSLhsl(50, 96%, 64%)
CMYKcmyk(0%, 11%, 69%, 2%)
LABlab(88.8 -5.8 71.6)
LCHlch(88.8 71.8 94.6)
OKLCHoklch(0.902 0.161 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbdf4d on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#fbdf4d on black: 15.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green87.5%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow69.3%
Key (black)1.6%

Color previews

#fbdf4d text on a black background

contrast 15.76:1

Card sample

#fbdf4d text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbdf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbdf4d in the Color Lab