Skip to content

#fffcad

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

RGB
255, 252, 173
HSL
58°, 100%, 84%
CMYK
0, 1, 32, 0
Luminance
0.9390

Every format

HEX#fffcad
RGBrgb(255, 252, 173)
HSLhsl(58, 100%, 84%)
CMYKcmyk(0%, 1%, 32%, 0%)
LABlab(97.6 -10.6 38.3)
LCHlch(97.6 39.7 105.4)
OKLCHoklch(0.976 0.099 106.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.8%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow32.2%
Key (black)0.0%

Color previews

#fffcad text on a black background

contrast 19.78:1

Card sample

#fffcad text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcad in the Color Lab