Skip to content

#f6fac2

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

RGB
246, 250, 194
HSL
64°, 85%, 87%
CMYK
2, 0, 22, 2
Luminance
0.9186

Every format

HEX#f6fac2
RGBrgb(246, 250, 194)
HSLhsl(64, 85%, 87%)
CMYKcmyk(2%, 0%, 22%, 2%)
LABlab(96.8 -10.2 26.5)
LCHlch(96.8 28.4 111.1)
OKLCHoklch(0.969 0.072 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green98.0%
Blue76.1%

CMYK percentages

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

Color previews

#f6fac2 text on a black background

contrast 19.37:1

Card sample

#f6fac2 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6fac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6fac2 in the Color Lab