Skip to content

#fcfcaf

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

RGB
252, 252, 175
HSL
60°, 93%, 84%
CMYK
0, 0, 31, 1
Luminance
0.9341

Every format

HEX#fcfcaf
RGBrgb(252, 252, 175)
HSLhsl(60, 93%, 84%)
CMYKcmyk(0%, 0%, 31%, 1%)
LABlab(97.4 -11.4 37.0)
LCHlch(97.4 38.7 107.2)
OKLCHoklch(0.974 0.097 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green98.8%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow30.6%
Key (black)1.2%

Color previews

#fcfcaf text on a black background

contrast 19.68:1

Card sample

#fcfcaf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfcaf in the Color Lab