Skip to content

#fffac8

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

RGB
255, 250, 200
HSL
55°, 100%, 89%
CMYK
0, 2, 22, 0
Luminance
0.9380

Every format

HEX#fffac8
RGBrgb(255, 250, 200)
HSLhsl(55, 100%, 89%)
CMYKcmyk(0%, 2%, 22%, 0%)
LABlab(97.5 -6.1 24.6)
LCHlch(97.5 25.4 104.0)
OKLCHoklch(0.977 0.064 102.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green98.0%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow21.6%
Key (black)0.0%

Color previews

#fffac8 text on a black background

contrast 19.76:1

Card sample

#fffac8 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffac8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffac8 in the Color Lab