Skip to content

#f0f9cd

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

RGB
240, 249, 205
HSL
72°, 79%, 89%
CMYK
4, 0, 18, 2
Luminance
0.9068

Every format

HEX#f0f9cd
RGBrgb(240, 249, 205)
HSLhsl(72, 79%, 89%)
CMYKcmyk(4%, 0%, 18%, 2%)
LABlab(96.3 -10.3 20.2)
LCHlch(96.3 22.6 117.0)
OKLCHoklch(0.964 0.058 116.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f9cd on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#f0f9cd on black: 19.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green97.6%
Blue80.4%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow17.7%
Key (black)2.4%

Color previews

#f0f9cd text on a black background

contrast 19.14:1

Card sample

#f0f9cd text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f9cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f9cd in the Color Lab