Skip to content

#fcaf2e

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

RGB
252, 175, 46
HSL
38°, 97%, 58%
CMYK
0, 31, 82, 1
Luminance
0.5155

Every format

HEX#fcaf2e
RGBrgb(252, 175, 46)
HSLhsl(38, 97%, 58%)
CMYKcmyk(0%, 31%, 82%, 1%)
LABlab(77.0 18.2 71.4)
LCHlch(77.0 73.7 75.7)
OKLCHoklch(0.808 0.159 74.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green68.6%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta30.6%
Yellow81.7%
Key (black)1.2%

Color previews

#fcaf2e text on a black background

contrast 11.31:1

Card sample

#fcaf2e text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcaf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcaf2e in the Color Lab