Skip to content

#fcffb0

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

RGB
252, 255, 176
HSL
62°, 100%, 85%
CMYK
1, 0, 31, 0
Luminance
0.9535

Every format

HEX#fcffb0
RGBrgb(252, 255, 176)
HSLhsl(62, 100%, 85%)
CMYKcmyk(1%, 0%, 31%, 0%)
LABlab(98.2 -12.8 37.5)
LCHlch(98.2 39.6 108.8)
OKLCHoklch(0.980 0.099 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue69.0%

CMYK percentages

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

Color previews

#fcffb0 text on a black background

contrast 20.07:1

Card sample

#fcffb0 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffb0 in the Color Lab