Skip to content

#faffbf

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

RGB
250, 255, 191
HSL
65°, 100%, 88%
CMYK
2, 0, 25, 0
Luminance
0.9561

Every format

HEX#faffbf
RGBrgb(250, 255, 191)
HSLhsl(65, 100%, 88%)
CMYKcmyk(2%, 0%, 25%, 0%)
LABlab(98.3 -11.6 30.1)
LCHlch(98.3 32.3 111.1)
OKLCHoklch(0.981 0.082 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faffbf on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#faffbf on black: 20.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue74.9%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow25.1%
Key (black)0.0%

Color previews

#faffbf text on a black background

contrast 20.12:1

Card sample

#faffbf text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffbf in the Color Lab