Skip to content

#f0fffe

a pale, electric cyan · cool · closest name: white

RGB
240, 255, 254
HSL
176°, 100%, 97%
CMYK
6, 0, 0, 0
Luminance
0.9720

Every format

HEX#f0fffe
RGBrgb(240, 255, 254)
HSLhsl(176, 100%, 97%)
CMYKcmyk(6%, 0%, 0%, 0%)
LABlab(98.9 -5.1 -1.2)
LCHlch(98.9 5.2 193.4)
OKLCHoklch(0.989 0.016 192.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0fffe on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#f0fffe on black: 20.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green100.0%
Blue99.6%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow0.4%
Key (black)0.0%

Color previews

#f0fffe text on a black background

contrast 20.44:1

Card sample

#f0fffe text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fffe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fffe in the Color Lab