Skip to content

#fcba2f

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

RGB
252, 186, 47
HSL
41°, 97%, 59%
CMYK
0, 26, 81, 1
Luminance
0.5602

Every format

HEX#fcba2f
RGBrgb(252, 186, 47)
HSLhsl(41, 97%, 59%)
CMYKcmyk(0%, 26%, 81%, 1%)
LABlab(79.6 12.4 73.3)
LCHlch(79.6 74.4 80.4)
OKLCHoklch(0.829 0.160 80.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcba2f on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#fcba2f on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green72.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta26.2%
Yellow81.3%
Key (black)1.2%

Color previews

#fcba2f text on a black background

contrast 12.20:1

Card sample

#fcba2f text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcba2f in the Color Lab