Skip to content

#fcfeb2

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

RGB
252, 254, 178
HSL
62°, 97%, 85%
CMYK
1, 0, 30, 0
Luminance
0.9479

Every format

HEX#fcfeb2
RGBrgb(252, 254, 178)
HSLhsl(62, 97%, 85%)
CMYKcmyk(1%, 0%, 30%, 0%)
LABlab(98.0 -12.1 36.2)
LCHlch(98.0 38.2 108.4)
OKLCHoklch(0.978 0.096 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green99.6%
Blue69.8%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow29.9%
Key (black)0.4%

Color previews

#fcfeb2 text on a black background

contrast 19.96:1

Card sample

#fcfeb2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfeb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfeb2 in the Color Lab