Skip to content

#ffaf4b

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

RGB
255, 175, 75
HSL
33°, 100%, 65%
CMYK
0, 31, 71, 0
Luminance
0.5243

Every format

HEX#ffaf4b
RGBrgb(255, 175, 75)
HSLhsl(33, 100%, 65%)
CMYKcmyk(0%, 31%, 71%, 0%)
LABlab(77.5 20.5 61.0)
LCHlch(77.5 64.3 71.4)
OKLCHoklch(0.814 0.146 68.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow70.6%
Key (black)0.0%

Color previews

#ffaf4b text on a black background

contrast 11.49:1

Card sample

#ffaf4b text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf4b in the Color Lab