Skip to content

#ffaf14

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

RGB
255, 175, 20
HSL
40°, 100%, 54%
CMYK
0, 31, 92, 0
Luminance
0.5197

Every format

HEX#ffaf14
RGBrgb(255, 175, 20)
HSLhsl(40, 100%, 54%)
CMYKcmyk(0%, 31%, 92%, 0%)
LABlab(77.3 18.9 78.1)
LCHlch(77.3 80.3 76.4)
OKLCHoklch(0.811 0.168 75.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow92.2%
Key (black)0.0%

Color previews

#ffaf14 text on a black background

contrast 11.39:1

Card sample

#ffaf14 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf14

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf14 in the Color Lab