Skip to content

#fffcac

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

RGB
255, 252, 172
HSL
58°, 100%, 84%
CMYK
0, 1, 33, 0
Luminance
0.9386

Every format

HEX#fffcac
RGBrgb(255, 252, 172)
HSLhsl(58, 100%, 84%)
CMYKcmyk(0%, 1%, 33%, 0%)
LABlab(97.6 -10.7 38.8)
LCHlch(97.6 40.2 105.4)
OKLCHoklch(0.975 0.100 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fffcac text on a black background

contrast 19.77:1

Card sample

#fffcac text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcac in the Color Lab