Skip to content

#f0facf

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

RGB
240, 250, 207
HSL
74°, 81%, 90%
CMYK
4, 0, 17, 2
Luminance
0.9140

Every format

HEX#f0facf
RGBrgb(240, 250, 207)
HSLhsl(74, 81%, 90%)
CMYKcmyk(4%, 0%, 17%, 2%)
LABlab(96.6 -10.4 19.6)
LCHlch(96.6 22.2 118.1)
OKLCHoklch(0.967 0.057 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0facf on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#f0facf on black: 19.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green98.0%
Blue81.2%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow17.2%
Key (black)2.0%

Color previews

#f0facf text on a black background

contrast 19.28:1

Card sample

#f0facf text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0facf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0facf in the Color Lab