Skip to content

#f0fecb

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

RGB
240, 254, 203
HSL
77°, 96%, 90%
CMYK
6, 0, 20, 0
Luminance
0.9372

Every format

HEX#f0fecb
RGBrgb(240, 254, 203)
HSLhsl(77, 96%, 90%)
CMYKcmyk(6%, 0%, 20%, 0%)
LABlab(97.5 -13.0 22.9)
LCHlch(97.5 26.3 119.6)
OKLCHoklch(0.974 0.068 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green99.6%
Blue79.6%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow20.1%
Key (black)0.4%

Color previews

#f0fecb text on a black background

contrast 19.74:1

Card sample

#f0fecb text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fecb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fecb in the Color Lab