Skip to content

#f0fbcf

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

RGB
240, 251, 207
HSL
75°, 85%, 90%
CMYK
4, 0, 18, 2
Luminance
0.9202

Every format

HEX#f0fbcf
RGBrgb(240, 251, 207)
HSLhsl(75, 85%, 90%)
CMYKcmyk(4%, 0%, 18%, 2%)
LABlab(96.8 -10.9 19.9)
LCHlch(96.8 22.7 118.8)
OKLCHoklch(0.969 0.058 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0fbcf on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#f0fbcf on black: 19.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green98.4%
Blue81.2%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow17.5%
Key (black)1.6%

Color previews

#f0fbcf text on a black background

contrast 19.40:1

Card sample

#f0fbcf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fbcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fbcf in the Color Lab