Skip to content

#fac960

a light, electric yellow · warm · closest name: khaki

RGB
250, 201, 96
HSL
41°, 94%, 68%
CMYK
0, 20, 62, 2
Luminance
0.6294

Every format

HEX#fac960
RGBrgb(250, 201, 96)
HSLhsl(41, 94%, 68%)
CMYKcmyk(0%, 20%, 62%, 2%)
LABlab(83.4 6.1 57.9)
LCHlch(83.4 58.2 84.0)
OKLCHoklch(0.859 0.134 84.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fac960 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#fac960 on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green78.8%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow61.6%
Key (black)2.0%

Color previews

#fac960 text on a black background

contrast 13.59:1

Card sample

#fac960 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fac960

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fac960 in the Color Lab