Skip to content

#ffaf45

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

RGB
255, 175, 69
HSL
34°, 100%, 64%
CMYK
0, 31, 73, 0
Luminance
0.5235

Every format

HEX#ffaf45
RGBrgb(255, 175, 69)
HSLhsl(34, 100%, 64%)
CMYKcmyk(0%, 31%, 73%, 0%)
LABlab(77.5 20.3 63.5)
LCHlch(77.5 66.6 72.3)
OKLCHoklch(0.813 0.150 70.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow72.9%
Key (black)0.0%

Color previews

#ffaf45 text on a black background

contrast 11.47:1

Card sample

#ffaf45 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf45 in the Color Lab