Skip to content

#cf960b

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

RGB
207, 150, 11
HSL
43°, 90%, 43%
CMYK
0, 28, 95, 19
Luminance
0.3510

Every format

HEX#cf960b
RGBrgb(207, 150, 11)
HSLhsl(43, 90%, 43%)
CMYKcmyk(0%, 28%, 95%, 19%)
LABlab(65.8 11.4 68.7)
LCHlch(65.8 69.7 80.6)
OKLCHoklch(0.710 0.145 80.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf960b on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#cf960b on black: 8.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green58.8%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta27.5%
Yellow94.7%
Key (black)18.8%

Color previews

#cf960b text on a black background

contrast 8.02:1

Card sample

#cf960b text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 150, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 150, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf960b;
background: linear-gradient(135deg, #cf960b, #85CF0B);

Monochromatic scale

Palettes built from #cf960b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cf960b in the Color Lab