Skip to content

#faffa3

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

RGB
250, 255, 163
HSL
63°, 100%, 82%
CMYK
2, 0, 36, 0
Luminance
0.9449

Every format

HEX#faffa3
RGBrgb(250, 255, 163)
HSLhsl(63, 100%, 82%)
CMYKcmyk(2%, 0%, 36%, 0%)
LABlab(97.8 -15.1 43.4)
LCHlch(97.8 46.0 109.1)
OKLCHoklch(0.976 0.114 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue63.9%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow36.1%
Key (black)0.0%

Color previews

#faffa3 text on a black background

contrast 19.90:1

Card sample

#faffa3 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffa3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffa3 in the Color Lab