Skip to content

#fcffac

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

RGB
252, 255, 172
HSL
62°, 100%, 84%
CMYK
1, 0, 33, 0
Luminance
0.9519

Every format

HEX#fcffac
RGBrgb(252, 255, 172)
HSLhsl(62, 100%, 84%)
CMYKcmyk(1%, 0%, 33%, 0%)
LABlab(98.1 -13.3 39.4)
LCHlch(98.1 41.6 108.6)
OKLCHoklch(0.979 0.104 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue67.5%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow32.5%
Key (black)0.0%

Color previews

#fcffac text on a black background

contrast 20.04:1

Card sample

#fcffac text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffac in the Color Lab