Skip to content

#b49c01

a dark, electric yellow · cool · closest name: olive

RGB
180, 156, 1
HSL
52°, 99%, 36%
CMYK
0, 13, 99, 29
Luminance
0.3348

Every format

HEX#b49c01
RGBrgb(180, 156, 1)
HSLhsl(52, 99%, 36%)
CMYKcmyk(0%, 13%, 99%, 29%)
LABlab(64.5 -4.1 67.9)
LCHlch(64.5 68.0 93.4)
OKLCHoklch(0.693 0.143 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b49c01 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#b49c01 on black: 7.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green61.2%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta13.3%
Yellow99.4%
Key (black)29.4%

Color previews

#b49c01 text on a black background

contrast 7.70:1

Card sample

#b49c01 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 156, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 156, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b49c01;
background: linear-gradient(135deg, #b49c01, #55B401);

Monochromatic scale

Palettes built from #b49c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b49c01 in the Color Lab