Skip to content

#fcba0c

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

RGB
252, 186, 12
HSL
44°, 98%, 52%
CMYK
0, 26, 95, 1
Luminance
0.5584

Every format

HEX#fcba0c
RGBrgb(252, 186, 12)
HSLhsl(44, 98%, 52%)
CMYKcmyk(0%, 26%, 95%, 1%)
LABlab(79.5 11.8 80.6)
LCHlch(79.5 81.5 81.7)
OKLCHoklch(0.828 0.169 82.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcba0c on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#fcba0c on black: 12.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green72.9%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta26.2%
Yellow95.2%
Key (black)1.2%

Color previews

#fcba0c text on a black background

contrast 12.17:1

Card sample

#fcba0c text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcba0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcba0c in the Color Lab