Skip to content

#f2fbcb

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

RGB
242, 251, 203
HSL
71°, 86%, 89%
CMYK
4, 0, 19, 2
Luminance
0.9218

Every format

HEX#f2fbcb
RGBrgb(242, 251, 203)
HSLhsl(71, 86%, 89%)
CMYKcmyk(4%, 0%, 19%, 2%)
LABlab(96.9 -10.8 22.1)
LCHlch(96.9 24.6 116.2)
OKLCHoklch(0.969 0.063 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green98.4%
Blue79.6%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow19.1%
Key (black)1.6%

Color previews

#f2fbcb text on a black background

contrast 19.44:1

Card sample

#f2fbcb text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2fbcb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2fbcb in the Color Lab