Skip to content

#bbc012

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

RGB
187, 192, 18
HSL
62°, 83%, 41%
CMYK
3, 0, 91, 25
Luminance
0.4831

Every format

HEX#bbc012
RGBrgb(187, 192, 18)
HSLhsl(62, 83%, 41%)
CMYKcmyk(3%, 0%, 91%, 25%)
LABlab(75.0 -19.3 73.8)
LCHlch(75.0 76.3 104.7)
OKLCHoklch(0.778 0.169 111.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc012 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#bbc012 on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green75.3%
Blue7.1%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow90.6%
Key (black)24.7%

Color previews

#bbc012 text on a black background

contrast 10.66:1

Card sample

#bbc012 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 192, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 192, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc012;
background: linear-gradient(135deg, #bbc012, #47C012);

Monochromatic scale

Palettes built from #bbc012

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc012 in the Color Lab