Skip to content

#faffba

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

RGB
250, 255, 186
HSL
64°, 100%, 87%
CMYK
2, 0, 27, 0
Luminance
0.9539

Every format

HEX#faffba
RGBrgb(250, 255, 186)
HSLhsl(64, 100%, 87%)
CMYKcmyk(2%, 0%, 27%, 0%)
LABlab(98.2 -12.3 32.5)
LCHlch(98.2 34.8 110.7)
OKLCHoklch(0.980 0.088 111.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faffba on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#faffba on black: 20.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue72.9%

CMYK percentages

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

Color previews

#faffba text on a black background

contrast 20.08:1

Card sample

#faffba text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faffba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faffba in the Color Lab