Skip to content

#facf2c

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

RGB
250, 207, 44
HSL
48°, 95%, 58%
CMYK
0, 17, 82, 2
Luminance
0.6513

Every format

HEX#facf2c
RGBrgb(250, 207, 44)
HSLhsl(48, 95%, 58%)
CMYKcmyk(0%, 17%, 82%, 2%)
LABlab(84.5 0.7 78.3)
LCHlch(84.5 78.3 89.5)
OKLCHoklch(0.867 0.168 92.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#facf2c on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#facf2c on black: 14.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green81.2%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta17.2%
Yellow82.4%
Key (black)2.0%

Color previews

#facf2c text on a black background

contrast 14.03:1

Card sample

#facf2c text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #facf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #facf2c in the Color Lab