Skip to content

#f0fcc5

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

RGB
240, 252, 197
HSL
73°, 90%, 88%
CMYK
5, 0, 22, 1
Luminance
0.9218

Every format

HEX#f0fcc5
RGBrgb(240, 252, 197)
HSLhsl(73, 90%, 88%)
CMYKcmyk(5%, 0%, 22%, 1%)
LABlab(96.9 -12.9 25.1)
LCHlch(96.9 28.2 117.2)
OKLCHoklch(0.969 0.072 117.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green98.8%
Blue77.3%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow21.8%
Key (black)1.2%

Color previews

#f0fcc5 text on a black background

contrast 19.44:1

Card sample

#f0fcc5 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fcc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fcc5 in the Color Lab