Skip to content

#fcffb7

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

RGB
252, 255, 183
HSL
63°, 100%, 86%
CMYK
1, 0, 28, 0
Luminance
0.9563

Every format

HEX#fcffb7
RGBrgb(252, 255, 183)
HSLhsl(63, 100%, 86%)
CMYKcmyk(1%, 0%, 28%, 0%)
LABlab(98.3 -11.9 34.2)
LCHlch(98.3 36.2 109.2)
OKLCHoklch(0.981 0.091 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue71.8%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow28.2%
Key (black)0.0%

Color previews

#fcffb7 text on a black background

contrast 20.13:1

Card sample

#fcffb7 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffb7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffb7 in the Color Lab