Skip to content

#fac64c

a balanced, electric yellow · warm · closest name: orange

RGB
250, 198, 76
HSL
42°, 95%, 64%
CMYK
0, 21, 70, 2
Luminance
0.6123

Every format

HEX#fac64c
RGBrgb(250, 198, 76)
HSLhsl(42, 95%, 64%)
CMYKcmyk(0%, 21%, 70%, 2%)
LABlab(82.5 6.5 65.5)
LCHlch(82.5 65.8 84.3)
OKLCHoklch(0.852 0.147 85.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fac64c on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#fac64c on black: 13.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green77.6%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow69.6%
Key (black)2.0%

Color previews

#fac64c text on a black background

contrast 13.25:1

Card sample

#fac64c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fac64c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fac64c in the Color Lab