Skip to content

#f0ffda

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

RGB
240, 255, 218
HSL
84°, 100%, 93%
CMYK
6, 0, 15, 0
Luminance
0.9511

Every format

HEX#f0ffda
RGBrgb(240, 255, 218)
HSLhsl(84, 100%, 93%)
CMYKcmyk(6%, 0%, 15%, 0%)
LABlab(98.1 -11.2 16.0)
LCHlch(98.1 19.6 125.0)
OKLCHoklch(0.979 0.051 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ffda on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#f0ffda on black: 20.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green100.0%
Blue85.5%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow14.5%
Key (black)0.0%

Color previews

#f0ffda text on a black background

contrast 20.02:1

Card sample

#f0ffda text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ffda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ffda in the Color Lab