Skip to content

#fff6cd

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

RGB
255, 246, 205
HSL
49°, 100%, 90%
CMYK
0, 4, 20, 0
Luminance
0.9158

Every format

HEX#fff6cd
RGBrgb(255, 246, 205)
HSLhsl(49, 100%, 90%)
CMYKcmyk(0%, 4%, 20%, 0%)
LABlab(96.7 -3.4 20.8)
LCHlch(96.7 21.1 99.3)
OKLCHoklch(0.970 0.054 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff6cd on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fff6cd on black: 19.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green96.5%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta3.5%
Yellow19.6%
Key (black)0.0%

Color previews

#fff6cd text on a black background

contrast 19.32:1

Card sample

#fff6cd text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff6cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff6cd in the Color Lab