Skip to content

#faffb6

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

RGB
250, 255, 182
HSL
64°, 100%, 86%
CMYK
2, 0, 29, 0
Luminance
0.9522

Every format

HEX#faffb6
RGBrgb(250, 255, 182)
HSLhsl(64, 100%, 86%)
CMYKcmyk(2%, 0%, 29%, 0%)
LABlab(98.1 -12.8 34.4)
LCHlch(98.1 36.7 110.4)
OKLCHoklch(0.979 0.092 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue71.4%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow28.6%
Key (black)0.0%

Color previews

#faffb6 text on a black background

contrast 20.04:1

Card sample

#faffb6 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffb6 in the Color Lab