Skip to content

#faff71

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

RGB
250, 255, 113
HSL
62°, 100%, 72%
CMYK
2, 0, 56, 0
Luminance
0.9304

Every format

HEX#faff71
RGBrgb(250, 255, 113)
HSLhsl(62, 100%, 72%)
CMYKcmyk(2%, 0%, 56%, 0%)
LABlab(97.2 -19.7 65.9)
LCHlch(97.2 68.8 106.6)
OKLCHoklch(0.969 0.163 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff71 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#faff71 on black: 19.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue44.3%

CMYK percentages

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

Color previews

#faff71 text on a black background

contrast 19.61:1

Card sample

#faff71 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff71

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff71 in the Color Lab