Skip to content

#ffaf49

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

RGB
255, 175, 73
HSL
34°, 100%, 64%
CMYK
0, 31, 71, 0
Luminance
0.5240

Every format

HEX#ffaf49
RGBrgb(255, 175, 73)
HSLhsl(34, 100%, 64%)
CMYKcmyk(0%, 31%, 71%, 0%)
LABlab(77.5 20.4 61.8)
LCHlch(77.5 65.1 71.7)
OKLCHoklch(0.814 0.148 69.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaf49 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#ffaf49 on black: 11.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue28.6%

CMYK percentages

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

Color previews

#ffaf49 text on a black background

contrast 11.48:1

Card sample

#ffaf49 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf49 in the Color Lab