Skip to content

#f2fcc4

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

RGB
242, 252, 196
HSL
71°, 90%, 88%
CMYK
4, 0, 22, 1
Luminance
0.9248

Every format

HEX#f2fcc4
RGBrgb(242, 252, 196)
HSLhsl(71, 90%, 88%)
CMYKcmyk(4%, 0%, 22%, 1%)
LABlab(97.0 -12.3 25.8)
LCHlch(97.0 28.6 115.6)
OKLCHoklch(0.970 0.073 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green98.8%
Blue76.9%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow22.2%
Key (black)1.2%

Color previews

#f2fcc4 text on a black background

contrast 19.50:1

Card sample

#f2fcc4 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fcc4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fcc4 in the Color Lab