Skip to content

#fffcba

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

RGB
255, 252, 186
HSL
57°, 100%, 87%
CMYK
0, 1, 27, 0
Luminance
0.9443

Every format

HEX#fffcba
RGBrgb(255, 252, 186)
HSLhsl(57, 100%, 87%)
CMYKcmyk(0%, 1%, 27%, 0%)
LABlab(97.8 -9.0 32.1)
LCHlch(97.8 33.3 105.6)
OKLCHoklch(0.978 0.084 105.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffcba on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fffcba on black: 19.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.8%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow27.1%
Key (black)0.0%

Color previews

#fffcba text on a black background

contrast 19.89:1

Card sample

#fffcba text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcba in the Color Lab