Skip to content

#ffaf10

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

RGB
255, 175, 16
HSL
40°, 100%, 53%
CMYK
0, 31, 94, 0
Luminance
0.5196

Every format

HEX#ffaf10
RGBrgb(255, 175, 16)
HSLhsl(40, 100%, 53%)
CMYKcmyk(0%, 31%, 94%, 0%)
LABlab(77.3 18.9 78.7)
LCHlch(77.3 80.9 76.5)
OKLCHoklch(0.811 0.168 75.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow93.7%
Key (black)0.0%

Color previews

#ffaf10 text on a black background

contrast 11.39:1

Card sample

#ffaf10 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf10

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf10 in the Color Lab