Skip to content

#f5facf

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

RGB
245, 250, 207
HSL
67°, 81%, 90%
CMYK
2, 0, 17, 2
Luminance
0.9229

Every format

HEX#f5facf
RGBrgb(245, 250, 207)
HSLhsl(67, 81%, 90%)
CMYKcmyk(2%, 0%, 17%, 2%)
LABlab(96.9 -8.7 20.1)
LCHlch(96.9 21.9 113.4)
OKLCHoklch(0.971 0.056 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green98.0%
Blue81.2%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow17.2%
Key (black)2.0%

Color previews

#f5facf text on a black background

contrast 19.46:1

Card sample

#f5facf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5facf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5facf in the Color Lab