Skip to content

#ffaf64

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

RGB
255, 175, 100
HSL
29°, 100%, 70%
CMYK
0, 31, 61, 0
Luminance
0.5284

Every format

HEX#ffaf64
RGBrgb(255, 175, 100)
HSLhsl(29, 100%, 70%)
CMYKcmyk(0%, 31%, 61%, 0%)
LABlab(77.8 22.0 49.6)
LCHlch(77.8 54.3 66.1)
OKLCHoklch(0.817 0.131 62.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaf64 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#ffaf64 on black: 11.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green68.6%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow60.8%
Key (black)0.0%

Color previews

#ffaf64 text on a black background

contrast 11.57:1

Card sample

#ffaf64 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf64 in the Color Lab