Skip to content

#f9ffbc

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

RGB
249, 255, 188
HSL
65°, 100%, 87%
CMYK
2, 0, 26, 0
Luminance
0.9529

Every format

HEX#f9ffbc
RGBrgb(249, 255, 188)
HSLhsl(65, 100%, 87%)
CMYKcmyk(2%, 0%, 26%, 0%)
LABlab(98.2 -12.4 31.4)
LCHlch(98.2 33.8 111.5)
OKLCHoklch(0.980 0.086 112.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green100.0%
Blue73.7%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow26.3%
Key (black)0.0%

Color previews

#f9ffbc text on a black background

contrast 20.06:1

Card sample

#f9ffbc text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9ffbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9ffbc in the Color Lab