Skip to content

#f2ffbf

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

RGB
242, 255, 191
HSL
72°, 100%, 88%
CMYK
5, 0, 25, 0
Luminance
0.9416

Every format

HEX#f2ffbf
RGBrgb(242, 255, 191)
HSLhsl(72, 100%, 88%)
CMYKcmyk(5%, 0%, 25%, 0%)
LABlab(97.7 -14.5 29.2)
LCHlch(97.7 32.6 116.4)
OKLCHoklch(0.975 0.083 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green100.0%
Blue74.9%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow25.1%
Key (black)0.0%

Color previews

#f2ffbf text on a black background

contrast 19.83:1

Card sample

#f2ffbf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ffbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ffbf in the Color Lab