Skip to content

#fcffc2

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

RGB
252, 255, 194
HSL
63°, 100%, 88%
CMYK
1, 0, 24, 0
Luminance
0.9611

Every format

HEX#fcffc2
RGBrgb(252, 255, 194)
HSLhsl(63, 100%, 88%)
CMYKcmyk(1%, 0%, 24%, 0%)
LABlab(98.5 -10.5 28.9)
LCHlch(98.5 30.8 110.0)
OKLCHoklch(0.983 0.078 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcffc2 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fcffc2 on black: 20.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green100.0%
Blue76.1%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow23.9%
Key (black)0.0%

Color previews

#fcffc2 text on a black background

contrast 20.22:1

Card sample

#fcffc2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffc2 in the Color Lab