Skip to content

#f0fbc9

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

RGB
240, 251, 201
HSL
73°, 86%, 89%
CMYK
4, 0, 20, 2
Luminance
0.9174

Every format

HEX#f0fbc9
RGBrgb(240, 251, 201)
HSLhsl(73, 86%, 89%)
CMYKcmyk(4%, 0%, 20%, 2%)
LABlab(96.7 -11.8 22.8)
LCHlch(96.7 25.7 117.4)
OKLCHoklch(0.967 0.066 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green98.4%
Blue78.8%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow19.9%
Key (black)1.6%

Color previews

#f0fbc9 text on a black background

contrast 19.35:1

Card sample

#f0fbc9 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fbc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fbc9 in the Color Lab