Skip to content

#ffaf86

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

RGB
255, 175, 134
HSL
20°, 100%, 76%
CMYK
0, 31, 48, 0
Luminance
0.5364

Every format

HEX#ffaf86
RGBrgb(255, 175, 134)
HSLhsl(20, 100%, 76%)
CMYKcmyk(0%, 31%, 48%, 0%)
LABlab(78.3 24.7 32.8)
LCHlch(78.3 41.1 53.0)
OKLCHoklch(0.822 0.109 47.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaf86 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ffaf86 on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue52.5%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow47.5%
Key (black)0.0%

Color previews

#ffaf86 text on a black background

contrast 11.73:1

Card sample

#ffaf86 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf86

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf86 in the Color Lab