Skip to content

#fafbaf

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

RGB
250, 251, 175
HSL
61°, 91%, 84%
CMYK
0, 0, 30, 2
Luminance
0.9241

Every format

HEX#fafbaf
RGBrgb(250, 251, 175)
HSLhsl(61, 91%, 84%)
CMYKcmyk(0%, 0%, 30%, 2%)
LABlab(97.0 -11.7 36.4)
LCHlch(97.0 38.3 107.8)
OKLCHoklch(0.970 0.096 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fafbaf on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fafbaf on black: 19.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green98.4%
Blue68.6%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#fafbaf text on a black background

contrast 19.48:1

Card sample

#fafbaf text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fafbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fafbaf in the Color Lab