Skip to content

#faffaf

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

RGB
250, 255, 175
HSL
64°, 100%, 84%
CMYK
2, 0, 31, 0
Luminance
0.9494

Every format

HEX#faffaf
RGBrgb(250, 255, 175)
HSLhsl(64, 100%, 84%)
CMYKcmyk(2%, 0%, 31%, 0%)
LABlab(98.0 -13.7 37.8)
LCHlch(98.0 40.2 109.9)
OKLCHoklch(0.978 0.101 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue68.6%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#faffaf text on a black background

contrast 19.99:1

Card sample

#faffaf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffaf in the Color Lab