Skip to content

#f9fbc2

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

RGB
249, 251, 194
HSL
62°, 88%, 87%
CMYK
1, 0, 23, 2
Luminance
0.9303

Every format

HEX#f9fbc2
RGBrgb(249, 251, 194)
HSLhsl(62, 88%, 87%)
CMYKcmyk(1%, 0%, 23%, 2%)
LABlab(97.2 -9.6 27.2)
LCHlch(97.2 28.8 109.5)
OKLCHoklch(0.973 0.073 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green98.4%
Blue76.1%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow22.7%
Key (black)1.6%

Color previews

#f9fbc2 text on a black background

contrast 19.61:1

Card sample

#f9fbc2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9fbc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9fbc2 in the Color Lab