Skip to content

#faffad

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

RGB
250, 255, 173
HSL
64°, 100%, 84%
CMYK
2, 0, 32, 0
Luminance
0.9486

Every format

HEX#faffad
RGBrgb(250, 255, 173)
HSLhsl(64, 100%, 84%)
CMYKcmyk(2%, 0%, 32%, 0%)
LABlab(98.0 -13.9 38.7)
LCHlch(98.0 41.1 109.7)
OKLCHoklch(0.978 0.103 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue67.8%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow32.2%
Key (black)0.0%

Color previews

#faffad text on a black background

contrast 19.97:1

Card sample

#faffad text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffad in the Color Lab