Skip to content

#ffaf32

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

RGB
255, 175, 50
HSL
37°, 100%, 60%
CMYK
0, 31, 80, 0
Luminance
0.5215

Every format

HEX#ffaf32
RGBrgb(255, 175, 50)
HSLhsl(37, 100%, 60%)
CMYKcmyk(0%, 31%, 80%, 0%)
LABlab(77.4 19.5 70.5)
LCHlch(77.4 73.2 74.5)
OKLCHoklch(0.812 0.159 72.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue19.6%

CMYK percentages

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

Color previews

#ffaf32 text on a black background

contrast 11.43:1

Card sample

#ffaf32 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf32 in the Color Lab