Skip to content

#f2fecf

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

RGB
242, 254, 207
HSL
75°, 96%, 90%
CMYK
5, 0, 19, 0
Luminance
0.9427

Every format

HEX#f2fecf
RGBrgb(242, 254, 207)
HSLhsl(75, 96%, 90%)
CMYKcmyk(5%, 0%, 19%, 0%)
LABlab(97.7 -11.7 21.2)
LCHlch(97.7 24.2 119.0)
OKLCHoklch(0.976 0.062 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2fecf on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f2fecf on black: 19.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green99.6%
Blue81.2%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow18.5%
Key (black)0.4%

Color previews

#f2fecf text on a black background

contrast 19.85:1

Card sample

#f2fecf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fecf in the Color Lab