Skip to content

#af6540

a balanced, vivid orange · warm · closest name: sienna

RGB
175, 101, 64
HSL
20°, 46%, 47%
CMYK
0, 42, 63, 31
Luminance
0.1879

Every format

HEX#af6540
RGBrgb(175, 101, 64)
HSLhsl(20, 46%, 47%)
CMYKcmyk(0%, 42%, 63%, 31%)
LABlab(50.5 26.4 33.5)
LCHlch(50.5 42.6 51.8)
OKLCHoklch(0.583 0.108 46.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6540 on white: 4.41:1
AA ✗ fail · AA-large · AAA
Aa
#af6540 on black: 4.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green39.6%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta42.3%
Yellow63.4%
Key (black)31.4%

Color previews

#af6540 text on a black background

contrast 4.76:1

Card sample

#af6540 text on a white background

contrast 4.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6540

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af6540 in the Color Lab