Skip to content

#bc9c20

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

RGB
188, 156, 32
HSL
48°, 71%, 43%
CMYK
0, 17, 83, 26
Luminance
0.3457

Every format

HEX#bc9c20
RGBrgb(188, 156, 32)
HSLhsl(48, 71%, 43%)
CMYKcmyk(0%, 17%, 83%, 26%)
LABlab(65.4 0.1 63.0)
LCHlch(65.4 63.0 89.9)
OKLCHoklch(0.702 0.135 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9c20 on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#bc9c20 on black: 7.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green61.2%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow83.0%
Key (black)26.3%

Color previews

#bc9c20 text on a black background

contrast 7.91:1

Card sample

#bc9c20 text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 156, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 156, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc9c20;
background: linear-gradient(135deg, #bc9c20, #74BC20);

Monochromatic scale

Palettes built from #bc9c20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9c20 in the Color Lab