Skip to content

#fcffba

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

RGB
252, 255, 186
HSL
63°, 100%, 87%
CMYK
1, 0, 27, 0
Luminance
0.9576

Every format

HEX#fcffba
RGBrgb(252, 255, 186)
HSLhsl(63, 100%, 87%)
CMYKcmyk(1%, 0%, 27%, 0%)
LABlab(98.3 -11.6 32.7)
LCHlch(98.3 34.7 109.4)
OKLCHoklch(0.982 0.087 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue72.9%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow27.1%
Key (black)0.0%

Color previews

#fcffba text on a black background

contrast 20.15:1

Card sample

#fcffba text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffba in the Color Lab