Skip to content

#f0fcbc

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

RGB
240, 252, 188
HSL
71°, 91%, 86%
CMYK
5, 0, 25, 1
Luminance
0.9178

Every format

HEX#f0fcbc
RGBrgb(240, 252, 188)
HSLhsl(71, 91%, 86%)
CMYKcmyk(5%, 0%, 25%, 1%)
LABlab(96.7 -14.2 29.4)
LCHlch(96.7 32.6 115.7)
OKLCHoklch(0.967 0.083 116.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green98.8%
Blue73.7%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow25.4%
Key (black)1.2%

Color previews

#f0fcbc text on a black background

contrast 19.36:1

Card sample

#f0fcbc text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fcbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fcbc in the Color Lab