Skip to content

#f0fcdb

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

RGB
240, 252, 219
HSL
82°, 85%, 92%
CMYK
5, 0, 13, 1
Luminance
0.9326

Every format

HEX#f0fcdb
RGBrgb(240, 252, 219)
HSLhsl(82, 85%, 92%)
CMYKcmyk(5%, 0%, 13%, 1%)
LABlab(97.3 -9.6 14.5)
LCHlch(97.3 17.4 123.5)
OKLCHoklch(0.974 0.045 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green98.8%
Blue85.9%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow13.1%
Key (black)1.2%

Color previews

#f0fcdb text on a black background

contrast 19.65:1

Card sample

#f0fcdb text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fcdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fcdb in the Color Lab