Skip to content

#fafa16

a balanced, electric yellow · cool · closest name: yellow

RGB
250, 250, 22
HSL
60°, 96%, 53%
CMYK
0, 0, 91, 2
Luminance
0.8875

Every format

HEX#fafa16
RGBrgb(250, 250, 22)
HSLhsl(60, 96%, 53%)
CMYKcmyk(0%, 0%, 91%, 2%)
LABlab(95.5 -21.0 91.3)
LCHlch(95.5 93.6 103.0)
OKLCHoklch(0.954 0.205 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fafa16 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fafa16 on black: 18.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green98.0%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow91.2%
Key (black)2.0%

Color previews

#fafa16 text on a black background

contrast 18.75:1

Card sample

#fafa16 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fafa16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fafa16 in the Color Lab