Skip to content

#bcba0c

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

RGB
188, 186, 12
HSL
59°, 88%, 39%
CMYK
0, 1, 94, 26
Luminance
0.4584

Every format

HEX#bcba0c
RGBrgb(188, 186, 12)
HSLhsl(59, 88%, 39%)
CMYKcmyk(0%, 1%, 94%, 26%)
LABlab(73.4 -16.0 73.4)
LCHlch(73.4 75.2 102.3)
OKLCHoklch(0.766 0.164 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcba0c on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#bcba0c on black: 10.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green72.9%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow93.6%
Key (black)26.3%

Color previews

#bcba0c text on a black background

contrast 10.17:1

Card sample

#bcba0c text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcba0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcba0c in the Color Lab