Skip to content

#fcff9b

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

RGB
252, 255, 155
HSL
62°, 100%, 80%
CMYK
1, 0, 39, 0
Luminance
0.9458

Every format

HEX#fcff9b
RGBrgb(252, 255, 155)
HSLhsl(62, 100%, 80%)
CMYKcmyk(1%, 0%, 39%, 0%)
LABlab(97.9 -15.2 47.4)
LCHlch(97.9 49.8 107.7)
OKLCHoklch(0.976 0.123 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green100.0%
Blue60.8%

CMYK percentages

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

Color previews

#fcff9b text on a black background

contrast 19.92:1

Card sample

#fcff9b text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcff9b in the Color Lab