Skip to content

#faffa4

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

RGB
250, 255, 164
HSL
63°, 100%, 82%
CMYK
2, 0, 36, 0
Luminance
0.9452

Every format

HEX#faffa4
RGBrgb(250, 255, 164)
HSLhsl(63, 100%, 82%)
CMYKcmyk(2%, 0%, 36%, 0%)
LABlab(97.8 -14.9 43.0)
LCHlch(97.8 45.5 109.2)
OKLCHoklch(0.976 0.113 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue64.3%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow35.7%
Key (black)0.0%

Color previews

#faffa4 text on a black background

contrast 19.90:1

Card sample

#faffa4 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffa4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffa4 in the Color Lab