Skip to content

#faffb8

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

RGB
250, 255, 184
HSL
64°, 100%, 86%
CMYK
2, 0, 28, 0
Luminance
0.9530

Every format

HEX#faffb8
RGBrgb(250, 255, 184)
HSLhsl(64, 100%, 86%)
CMYKcmyk(2%, 0%, 28%, 0%)
LABlab(98.2 -12.5 33.5)
LCHlch(98.2 35.8 110.5)
OKLCHoklch(0.980 0.090 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue72.2%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow27.8%
Key (black)0.0%

Color previews

#faffb8 text on a black background

contrast 20.06:1

Card sample

#faffb8 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffb8 in the Color Lab