Skip to content

#facd21

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

RGB
250, 205, 33
HSL
48°, 96%, 56%
CMYK
0, 18, 87, 2
Luminance
0.6410

Every format

HEX#facd21
RGBrgb(250, 205, 33)
HSLhsl(48, 96%, 56%)
CMYKcmyk(0%, 18%, 87%, 2%)
LABlab(84.0 1.4 80.5)
LCHlch(84.0 80.5 89.0)
OKLCHoklch(0.863 0.171 92.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#facd21 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#facd21 on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green80.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta18.0%
Yellow86.8%
Key (black)2.0%

Color previews

#facd21 text on a black background

contrast 13.82:1

Card sample

#facd21 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 205, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 205, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #facd21;
background: linear-gradient(135deg, #facd21, #96FA21);

Monochromatic scale

Palettes built from #facd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #facd21 in the Color Lab