Skip to content

#f2fecc

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

RGB
242, 254, 204
HSL
74°, 96%, 90%
CMYK
5, 0, 20, 0
Luminance
0.9412

Every format

HEX#f2fecc
RGBrgb(242, 254, 204)
HSLhsl(74, 96%, 90%)
CMYKcmyk(5%, 0%, 20%, 0%)
LABlab(97.7 -12.2 22.6)
LCHlch(97.7 25.7 118.3)
OKLCHoklch(0.976 0.066 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green99.6%
Blue80.0%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow19.7%
Key (black)0.4%

Color previews

#f2fecc text on a black background

contrast 19.82:1

Card sample

#f2fecc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fecc in the Color Lab