Skip to content

#f0ffbc

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

RGB
240, 255, 188
HSL
73°, 100%, 87%
CMYK
6, 0, 26, 0
Luminance
0.9368

Every format

HEX#f0ffbc
RGBrgb(240, 255, 188)
HSLhsl(73, 100%, 87%)
CMYKcmyk(6%, 0%, 26%, 0%)
LABlab(97.5 -15.6 30.5)
LCHlch(97.5 34.2 117.2)
OKLCHoklch(0.973 0.087 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ffbc on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#f0ffbc on black: 19.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green100.0%
Blue73.7%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow26.3%
Key (black)0.0%

Color previews

#f0ffbc text on a black background

contrast 19.74:1

Card sample

#f0ffbc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ffbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ffbc in the Color Lab