Skip to content

#fac64d

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

RGB
250, 198, 77
HSL
42°, 95%, 64%
CMYK
0, 21, 69, 2
Luminance
0.6125

Every format

HEX#fac64d
RGBrgb(250, 198, 77)
HSLhsl(42, 95%, 64%)
CMYKcmyk(0%, 21%, 69%, 2%)
LABlab(82.5 6.6 65.1)
LCHlch(82.5 65.5 84.2)
OKLCHoklch(0.852 0.146 85.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green77.6%
Blue30.2%

CMYK percentages

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

Color previews

#fac64d text on a black background

contrast 13.25:1

Card sample

#fac64d text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fac64d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fac64d in the Color Lab