Skip to content

#f2fccc

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

RGB
242, 252, 204
HSL
73°, 89%, 89%
CMYK
4, 0, 19, 1
Luminance
0.9286

Every format

HEX#f2fccc
RGBrgb(242, 252, 204)
HSLhsl(73, 89%, 89%)
CMYKcmyk(4%, 0%, 19%, 1%)
LABlab(97.2 -11.2 21.9)
LCHlch(97.2 24.6 117.0)
OKLCHoklch(0.972 0.063 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green98.8%
Blue80.0%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow19.0%
Key (black)1.2%

Color previews

#f2fccc text on a black background

contrast 19.57:1

Card sample

#f2fccc text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fccc in the Color Lab