Skip to content

#f0facb

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

RGB
240, 250, 203
HSL
73°, 83%, 89%
CMYK
4, 0, 19, 2
Luminance
0.9121

Every format

HEX#f0facb
RGBrgb(240, 250, 203)
HSLhsl(73, 83%, 89%)
CMYKcmyk(4%, 0%, 19%, 2%)
LABlab(96.5 -11.1 21.5)
LCHlch(96.5 24.2 117.2)
OKLCHoklch(0.966 0.062 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green98.0%
Blue79.6%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow18.8%
Key (black)2.0%

Color previews

#f0facb text on a black background

contrast 19.24:1

Card sample

#f0facb text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0facb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0facb in the Color Lab