Skip to content

#faf8af

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

RGB
250, 248, 175
HSL
58°, 88%, 83%
CMYK
0, 1, 30, 2
Luminance
0.9055

Every format

HEX#faf8af
RGBrgb(250, 248, 175)
HSLhsl(58, 88%, 83%)
CMYKcmyk(0%, 1%, 30%, 2%)
LABlab(96.2 -10.2 35.4)
LCHlch(96.2 36.9 106.1)
OKLCHoklch(0.964 0.092 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf8af on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#faf8af on black: 19.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green97.3%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow30.0%
Key (black)2.0%

Color previews

#faf8af text on a black background

contrast 19.11:1

Card sample

#faf8af text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf8af in the Color Lab