Skip to content

#fffac0

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

RGB
255, 250, 192
HSL
55°, 100%, 88%
CMYK
0, 2, 25, 0
Luminance
0.9344

Every format

HEX#fffac0
RGBrgb(255, 250, 192)
HSLhsl(55, 100%, 88%)
CMYKcmyk(0%, 2%, 25%, 0%)
LABlab(97.4 -7.2 28.5)
LCHlch(97.4 29.4 104.2)
OKLCHoklch(0.975 0.074 103.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffac0 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fffac0 on black: 19.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.0%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow24.7%
Key (black)0.0%

Color previews

#fffac0 text on a black background

contrast 19.69:1

Card sample

#fffac0 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffac0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffac0 in the Color Lab