Skip to content

#f0ffbd

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

RGB
240, 255, 189
HSL
74°, 100%, 87%
CMYK
6, 0, 26, 0
Luminance
0.9372

Every format

HEX#f0ffbd
RGBrgb(240, 255, 189)
HSLhsl(74, 100%, 87%)
CMYKcmyk(6%, 0%, 26%, 0%)
LABlab(97.5 -15.5 30.0)
LCHlch(97.5 33.8 117.3)
OKLCHoklch(0.973 0.086 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green100.0%
Blue74.1%

CMYK percentages

Cyan5.9%
Magenta0.0%
Yellow25.9%
Key (black)0.0%

Color previews

#f0ffbd text on a black background

contrast 19.74:1

Card sample

#f0ffbd text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ffbd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ffbd in the Color Lab