Skip to content

#fffdb9

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

RGB
255, 253, 185
HSL
58°, 100%, 86%
CMYK
0, 1, 28, 0
Luminance
0.9501

Every format

HEX#fffdb9
RGBrgb(255, 253, 185)
HSLhsl(58, 100%, 86%)
CMYKcmyk(0%, 1%, 28%, 0%)
LABlab(98.0 -9.6 32.9)
LCHlch(98.0 34.3 106.3)
OKLCHoklch(0.980 0.086 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffdb9 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fffdb9 on black: 20.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.2%
Blue72.5%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow27.5%
Key (black)0.0%

Color previews

#fffdb9 text on a black background

contrast 20.00:1

Card sample

#fffdb9 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffdb9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffdb9 in the Color Lab