Skip to content

#fc8c2f

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

RGB
252, 140, 47
HSL
27°, 97%, 59%
CMYK
0, 44, 81, 1
Luminance
0.3966

Every format

HEX#fc8c2f
RGBrgb(252, 140, 47)
HSLhsl(27, 97%, 59%)
CMYKcmyk(0%, 44%, 81%, 1%)
LABlab(69.2 36.4 64.2)
LCHlch(69.2 73.8 60.5)
OKLCHoklch(0.748 0.168 54.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc8c2f on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#fc8c2f on black: 8.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green54.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta44.4%
Yellow81.3%
Key (black)1.2%

Color previews

#fc8c2f text on a black background

contrast 8.93:1

Card sample

#fc8c2f text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc8c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc8c2f in the Color Lab