Skip to content

#bcb40c

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

RGB
188, 180, 12
HSL
57°, 88%, 39%
CMYK
0, 4, 94, 26
Luminance
0.4336

Every format

HEX#bcb40c
RGBrgb(188, 180, 12)
HSLhsl(57, 88%, 39%)
CMYKcmyk(0%, 4%, 94%, 26%)
LABlab(71.8 -12.9 72.2)
LCHlch(71.8 73.3 100.2)
OKLCHoklch(0.752 0.159 106.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcb40c on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#bcb40c on black: 9.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green70.6%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow93.6%
Key (black)26.3%

Color previews

#bcb40c text on a black background

contrast 9.67:1

Card sample

#bcb40c text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcb40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcb40c in the Color Lab