Skip to content

#f5fcf2

a pale, vivid green · cool · closest name: ivory

RGB
245, 252, 242
HSL
102°, 63%, 97%
CMYK
3, 0, 4, 1
Luminance
0.9544

Every format

HEX#f5fcf2
RGBrgb(245, 252, 242)
HSLhsl(102, 63%, 97%)
CMYKcmyk(3%, 0%, 4%, 1%)
LABlab(98.2 -4.1 4.0)
LCHlch(98.2 5.7 135.6)
OKLCHoklch(0.983 0.015 136.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5fcf2 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#f5fcf2 on black: 20.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green98.8%
Blue94.9%

CMYK percentages

Cyan2.8%
Magenta0.0%
Yellow4.0%
Key (black)1.2%

Color previews

#f5fcf2 text on a black background

contrast 20.09:1

Card sample

#f5fcf2 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5fcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5fcf2 in the Color Lab