Skip to content

#fff9cd

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

RGB
255, 249, 205
HSL
53°, 100%, 90%
CMYK
0, 2, 20, 0
Luminance
0.9342

Every format

HEX#fff9cd
RGBrgb(255, 249, 205)
HSLhsl(53, 100%, 90%)
CMYKcmyk(0%, 2%, 20%, 0%)
LABlab(97.4 -4.9 21.9)
LCHlch(97.4 22.4 102.7)
OKLCHoklch(0.976 0.057 100.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green97.6%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow19.6%
Key (black)0.0%

Color previews

#fff9cd text on a black background

contrast 19.68:1

Card sample

#fff9cd text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff9cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff9cd in the Color Lab