Skip to content

#fcfcac

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

RGB
252, 252, 172
HSL
60°, 93%, 83%
CMYK
0, 0, 32, 1
Luminance
0.9329

Every format

HEX#fcfcac
RGBrgb(252, 252, 172)
HSLhsl(60, 93%, 83%)
CMYKcmyk(0%, 0%, 32%, 1%)
LABlab(97.3 -11.8 38.4)
LCHlch(97.3 40.2 107.1)
OKLCHoklch(0.973 0.100 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green98.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow31.7%
Key (black)1.2%

Color previews

#fcfcac text on a black background

contrast 19.66:1

Card sample

#fcfcac text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfcac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfcac in the Color Lab