Skip to content

#f1fac2

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

RGB
241, 250, 194
HSL
70°, 85%, 87%
CMYK
4, 0, 22, 2
Luminance
0.9097

Every format

HEX#f1fac2
RGBrgb(241, 250, 194)
HSLhsl(70, 85%, 87%)
CMYKcmyk(4%, 0%, 22%, 2%)
LABlab(96.4 -12.0 25.9)
LCHlch(96.4 28.6 114.8)
OKLCHoklch(0.965 0.073 115.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1fac2 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f1fac2 on black: 19.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green98.0%
Blue76.1%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow22.4%
Key (black)2.0%

Color previews

#f1fac2 text on a black background

contrast 19.19:1

Card sample

#f1fac2 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1fac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1fac2 in the Color Lab