Skip to content

#ffaf3d

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

RGB
255, 175, 61
HSL
35°, 100%, 62%
CMYK
0, 31, 76, 0
Luminance
0.5226

Every format

HEX#ffaf3d
RGBrgb(255, 175, 61)
HSLhsl(35, 100%, 62%)
CMYKcmyk(0%, 31%, 76%, 0%)
LABlab(77.4 19.9 66.6)
LCHlch(77.4 69.5 73.4)
OKLCHoklch(0.813 0.154 71.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow76.1%
Key (black)0.0%

Color previews

#ffaf3d text on a black background

contrast 11.45:1

Card sample

#ffaf3d text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf3d in the Color Lab