Skip to content

#f6fcc2

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

RGB
246, 252, 194
HSL
66°, 91%, 88%
CMYK
2, 0, 23, 1
Luminance
0.9311

Every format

HEX#f6fcc2
RGBrgb(246, 252, 194)
HSLhsl(66, 91%, 88%)
CMYKcmyk(2%, 0%, 23%, 1%)
LABlab(97.3 -11.2 27.2)
LCHlch(97.3 29.4 112.4)
OKLCHoklch(0.973 0.075 112.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green98.8%
Blue76.1%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow23.0%
Key (black)1.2%

Color previews

#f6fcc2 text on a black background

contrast 19.62:1

Card sample

#f6fcc2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6fcc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6fcc2 in the Color Lab