Skip to content

#fcaf2f

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

RGB
252, 175, 47
HSL
38°, 97%, 59%
CMYK
0, 31, 81, 1
Luminance
0.5156

Every format

HEX#fcaf2f
RGBrgb(252, 175, 47)
HSLhsl(38, 97%, 59%)
CMYKcmyk(0%, 31%, 81%, 1%)
LABlab(77.0 18.2 71.1)
LCHlch(77.0 73.4 75.6)
OKLCHoklch(0.809 0.158 74.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green68.6%
Blue18.4%

CMYK percentages

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

Color previews

#fcaf2f text on a black background

contrast 11.31:1

Card sample

#fcaf2f text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcaf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcaf2f in the Color Lab