Skip to content

#fcfbaf

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

RGB
252, 251, 175
HSL
59°, 93%, 84%
CMYK
0, 0, 31, 1
Luminance
0.9278

Every format

HEX#fcfbaf
RGBrgb(252, 251, 175)
HSLhsl(59, 93%, 84%)
CMYKcmyk(0%, 0%, 31%, 1%)
LABlab(97.1 -10.9 36.6)
LCHlch(97.1 38.2 106.6)
OKLCHoklch(0.972 0.096 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fcfbaf text on a black background

contrast 19.56:1

Card sample

#fcfbaf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfbaf in the Color Lab