Skip to content

#f2febf

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

RGB
242, 254, 191
HSL
71°, 97%, 87%
CMYK
5, 0, 25, 0
Luminance
0.9352

Every format

HEX#f2febf
RGBrgb(242, 254, 191)
HSLhsl(71, 97%, 87%)
CMYKcmyk(5%, 0%, 25%, 0%)
LABlab(97.4 -14.0 28.9)
LCHlch(97.4 32.1 115.9)
OKLCHoklch(0.973 0.082 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green99.6%
Blue74.9%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow24.8%
Key (black)0.4%

Color previews

#f2febf text on a black background

contrast 19.70:1

Card sample

#f2febf text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2febf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2febf in the Color Lab