Skip to content

#fcfeaf

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

RGB
252, 254, 175
HSL
62°, 98%, 84%
CMYK
1, 0, 31, 0
Luminance
0.9467

Every format

HEX#fcfeaf
RGBrgb(252, 254, 175)
HSLhsl(62, 98%, 84%)
CMYKcmyk(1%, 0%, 31%, 0%)
LABlab(97.9 -12.4 37.6)
LCHlch(97.9 39.6 108.3)
OKLCHoklch(0.978 0.099 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.6%
Blue68.6%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#fcfeaf text on a black background

contrast 19.93:1

Card sample

#fcfeaf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfeaf in the Color Lab