Skip to content

#ffc960

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

RGB
255, 201, 96
HSL
40°, 100%, 69%
CMYK
0, 21, 62, 0
Luminance
0.6388

Every format

HEX#ffc960
RGBrgb(255, 201, 96)
HSLhsl(40, 100%, 69%)
CMYKcmyk(0%, 21%, 62%, 0%)
LABlab(83.9 8.2 58.5)
LCHlch(83.9 59.1 82.1)
OKLCHoklch(0.864 0.136 81.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green78.8%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta21.2%
Yellow62.4%
Key (black)0.0%

Color previews

#ffc960 text on a black background

contrast 13.78:1

Card sample

#ffc960 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc960

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc960 in the Color Lab