Skip to content

#fcffaf

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

RGB
252, 255, 175
HSL
62°, 100%, 84%
CMYK
1, 0, 31, 0
Luminance
0.9531

Every format

HEX#fcffaf
RGBrgb(252, 255, 175)
HSLhsl(62, 100%, 84%)
CMYKcmyk(1%, 0%, 31%, 0%)
LABlab(98.2 -12.9 38.0)
LCHlch(98.2 40.1 108.8)
OKLCHoklch(0.980 0.100 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue68.6%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#fcffaf text on a black background

contrast 20.06:1

Card sample

#fcffaf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffaf in the Color Lab