Skip to content

#fcfba5

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

RGB
252, 251, 165
HSL
59°, 94%, 82%
CMYK
0, 0, 35, 1
Luminance
0.9241

Every format

HEX#fcfba5
RGBrgb(252, 251, 165)
HSLhsl(59, 94%, 82%)
CMYKcmyk(0%, 0%, 35%, 1%)
LABlab(97.0 -12.1 41.4)
LCHlch(97.0 43.1 106.3)
OKLCHoklch(0.970 0.107 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcfba5 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fcfba5 on black: 19.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green98.4%
Blue64.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow34.5%
Key (black)1.2%

Color previews

#fcfba5 text on a black background

contrast 19.48:1

Card sample

#fcfba5 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcfba5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcfba5 in the Color Lab