Skip to content

#f2fbcf

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

RGB
242, 251, 207
HSL
72°, 85%, 90%
CMYK
4, 0, 18, 2
Luminance
0.9238

Every format

HEX#f2fbcf
RGBrgb(242, 251, 207)
HSLhsl(72, 85%, 90%)
CMYKcmyk(4%, 0%, 18%, 2%)
LABlab(97.0 -10.2 20.1)
LCHlch(97.0 22.6 117.0)
OKLCHoklch(0.970 0.058 116.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green98.4%
Blue81.2%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow17.5%
Key (black)1.6%

Color previews

#f2fbcf text on a black background

contrast 19.48:1

Card sample

#f2fbcf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fbcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fbcf in the Color Lab