Skip to content

#fbdf80

a light, electric yellow · cool · closest name: khaki

RGB
251, 223, 128
HSL
46°, 94%, 74%
CMYK
0, 11, 49, 2
Luminance
0.7484

Every format

HEX#fbdf80
RGBrgb(251, 223, 128)
HSLhsl(46, 94%, 74%)
CMYKcmyk(0%, 11%, 49%, 2%)
LABlab(89.3 -2.3 49.8)
LCHlch(89.3 49.8 92.6)
OKLCHoklch(0.907 0.119 93.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbdf80 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#fbdf80 on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green87.5%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow49.0%
Key (black)1.6%

Color previews

#fbdf80 text on a black background

contrast 15.97:1

Card sample

#fbdf80 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbdf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbdf80 in the Color Lab