Skip to content

#bc9d30

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

RGB
188, 157, 48
HSL
47°, 59%, 46%
CMYK
0, 17, 75, 26
Luminance
0.3502

Every format

HEX#bc9d30
RGBrgb(188, 157, 48)
HSLhsl(47, 59%, 46%)
CMYKcmyk(0%, 17%, 75%, 26%)
LABlab(65.8 0.2 57.9)
LCHlch(65.8 57.9 89.8)
OKLCHoklch(0.705 0.128 92.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9d30 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#bc9d30 on black: 8.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green61.6%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow74.5%
Key (black)26.3%

Color previews

#bc9d30 text on a black background

contrast 8.00:1

Card sample

#bc9d30 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 157, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 157, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc9d30;
background: linear-gradient(135deg, #bc9d30, #7EBC30);

Monochromatic scale

Palettes built from #bc9d30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9d30 in the Color Lab