Skip to content

#f8fdbf

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

RGB
248, 253, 191
HSL
65°, 94%, 87%
CMYK
2, 0, 25, 1
Luminance
0.9397

Every format

HEX#f8fdbf
RGBrgb(248, 253, 191)
HSLhsl(65, 94%, 87%)
CMYKcmyk(2%, 0%, 25%, 1%)
LABlab(97.6 -11.4 29.2)
LCHlch(97.6 31.3 111.3)
OKLCHoklch(0.975 0.079 111.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.3%
Green99.2%
Blue74.9%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow24.5%
Key (black)0.8%

Color previews

#f8fdbf text on a black background

contrast 19.79:1

Card sample

#f8fdbf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(248, 253, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(248, 253, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f8fdbf;
background: linear-gradient(135deg, #f8fdbf, #CFFDBF);

Monochromatic scale

Palettes built from #f8fdbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8fdbf in the Color Lab