Skip to content

#f0fbca

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

RGB
240, 251, 202
HSL
74°, 86%, 89%
CMYK
4, 0, 20, 2
Luminance
0.9178

Every format

HEX#f0fbca
RGBrgb(240, 251, 202)
HSLhsl(74, 86%, 89%)
CMYKcmyk(4%, 0%, 20%, 2%)
LABlab(96.7 -11.7 22.3)
LCHlch(96.7 25.2 117.6)
OKLCHoklch(0.968 0.065 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green98.4%
Blue79.2%

CMYK percentages

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

Color previews

#f0fbca text on a black background

contrast 19.36:1

Card sample

#f0fbca text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0fbca

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0fbca in the Color Lab