Skip to content

#bc9c21

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

RGB
188, 156, 33
HSL
48°, 70%, 43%
CMYK
0, 17, 82, 26
Luminance
0.3458

Every format

HEX#bc9c21
RGBrgb(188, 156, 33)
HSLhsl(48, 70%, 43%)
CMYKcmyk(0%, 17%, 82%, 26%)
LABlab(65.4 0.1 62.7)
LCHlch(65.4 62.7 89.9)
OKLCHoklch(0.702 0.135 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green61.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow82.4%
Key (black)26.3%

Color previews

#bc9c21 text on a black background

contrast 7.92:1

Card sample

#bc9c21 text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9c21 in the Color Lab