Skip to content

#fcb813

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

RGB
252, 184, 19
HSL
43°, 98%, 53%
CMYK
0, 27, 93, 1
Luminance
0.5502

Every format

HEX#fcb813
RGBrgb(252, 184, 19)
HSLhsl(43, 98%, 53%)
CMYKcmyk(0%, 27%, 93%, 1%)
LABlab(79.1 12.9 79.4)
LCHlch(79.1 80.4 80.8)
OKLCHoklch(0.824 0.167 81.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcb813 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#fcb813 on black: 12.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green72.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta27.0%
Yellow92.5%
Key (black)1.2%

Color previews

#fcb813 text on a black background

contrast 12.00:1

Card sample

#fcb813 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcb813

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcb813 in the Color Lab