Skip to content

#f5fcc2

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

RGB
245, 252, 194
HSL
67°, 91%, 88%
CMYK
3, 0, 23, 1
Luminance
0.9293

Every format

HEX#f5fcc2
RGBrgb(245, 252, 194)
HSLhsl(67, 91%, 88%)
CMYKcmyk(3%, 0%, 23%, 1%)
LABlab(97.2 -11.5 27.1)
LCHlch(97.2 29.4 113.1)
OKLCHoklch(0.972 0.075 113.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5fcc2 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#f5fcc2 on black: 19.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green98.8%
Blue76.1%

CMYK percentages

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

Color previews

#f5fcc2 text on a black background

contrast 19.59:1

Card sample

#f5fcc2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5fcc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5fcc2 in the Color Lab