Skip to content

#ffaf3f

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

RGB
255, 175, 63
HSL
35°, 100%, 62%
CMYK
0, 31, 75, 0
Luminance
0.5228

Every format

HEX#ffaf3f
RGBrgb(255, 175, 63)
HSLhsl(35, 100%, 62%)
CMYKcmyk(0%, 31%, 75%, 0%)
LABlab(77.5 20.0 65.9)
LCHlch(77.5 68.8 73.1)
OKLCHoklch(0.813 0.153 71.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow75.3%
Key (black)0.0%

Color previews

#ffaf3f text on a black background

contrast 11.46:1

Card sample

#ffaf3f text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf3f in the Color Lab