Skip to content

#fffbbd

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

RGB
255, 251, 189
HSL
56°, 100%, 87%
CMYK
0, 2, 26, 0
Luminance
0.9393

Every format

HEX#fffbbd
RGBrgb(255, 251, 189)
HSLhsl(56, 100%, 87%)
CMYKcmyk(0%, 2%, 26%, 0%)
LABlab(97.6 -8.1 30.3)
LCHlch(97.6 31.3 105.0)
OKLCHoklch(0.977 0.079 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffbbd on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fffbbd on black: 19.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.4%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow25.9%
Key (black)0.0%

Color previews

#fffbbd text on a black background

contrast 19.79:1

Card sample

#fffbbd text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbbd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbbd in the Color Lab