Skip to content

#ffad2f

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

RGB
255, 173, 47
HSL
36°, 100%, 59%
CMYK
0, 32, 82, 0
Luminance
0.5135

Every format

HEX#ffad2f
RGBrgb(255, 173, 47)
HSLhsl(36, 100%, 59%)
CMYKcmyk(0%, 32%, 82%, 0%)
LABlab(76.9 20.5 71.1)
LCHlch(76.9 74.0 73.9)
OKLCHoklch(0.808 0.160 72.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffad2f on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ffad2f on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta32.2%
Yellow81.6%
Key (black)0.0%

Color previews

#ffad2f text on a black background

contrast 11.27:1

Card sample

#ffad2f text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffad2f in the Color Lab