Skip to content

#fffbae

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

RGB
255, 251, 174
HSL
57°, 100%, 84%
CMYK
0, 2, 32, 0
Luminance
0.9331

Every format

HEX#fffbae
RGBrgb(255, 251, 174)
HSLhsl(57, 100%, 84%)
CMYKcmyk(0%, 2%, 32%, 0%)
LABlab(97.3 -10.0 37.5)
LCHlch(97.3 38.8 104.9)
OKLCHoklch(0.974 0.097 105.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffbae on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fffbae on black: 19.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.4%
Blue68.2%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow31.8%
Key (black)0.0%

Color previews

#fffbae text on a black background

contrast 19.66:1

Card sample

#fffbae text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffbae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffbae in the Color Lab