Skip to content

#f0ffce

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

RGB
240, 255, 206
HSL
78°, 100%, 90%
CMYK
6, 0, 19, 0
Luminance
0.9450

Every format

HEX#f0ffce
RGBrgb(240, 255, 206)
HSLhsl(78, 100%, 90%)
CMYKcmyk(6%, 0%, 19%, 0%)
LABlab(97.8 -13.1 21.8)
LCHlch(97.8 25.4 120.9)
OKLCHoklch(0.977 0.066 121.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green100.0%
Blue80.8%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow19.2%
Key (black)0.0%

Color previews

#f0ffce text on a black background

contrast 19.90:1

Card sample

#f0ffce text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ffce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ffce in the Color Lab