Skip to content

#ffaf16

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

RGB
255, 175, 22
HSL
39°, 100%, 54%
CMYK
0, 31, 91, 0
Luminance
0.5198

Every format

HEX#ffaf16
RGBrgb(255, 175, 22)
HSLhsl(39, 100%, 54%)
CMYKcmyk(0%, 31%, 91%, 0%)
LABlab(77.3 18.9 77.7)
LCHlch(77.3 80.0 76.3)
OKLCHoklch(0.811 0.167 75.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaf16 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#ffaf16 on black: 11.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow91.4%
Key (black)0.0%

Color previews

#ffaf16 text on a black background

contrast 11.40:1

Card sample

#ffaf16 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf16 in the Color Lab