Skip to content

#fafeaf

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

RGB
250, 254, 175
HSL
63°, 98%, 84%
CMYK
2, 0, 31, 0
Luminance
0.9430

Every format

HEX#fafeaf
RGBrgb(250, 254, 175)
HSLhsl(63, 98%, 84%)
CMYKcmyk(2%, 0%, 31%, 0%)
LABlab(97.8 -13.2 37.4)
LCHlch(97.8 39.7 109.4)
OKLCHoklch(0.976 0.099 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fafeaf on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fafeaf on black: 19.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green99.6%
Blue68.6%

CMYK percentages

Cyan1.6%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#fafeaf text on a black background

contrast 19.86:1

Card sample

#fafeaf text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fafeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fafeaf in the Color Lab