Skip to content

#bbc712

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

RGB
187, 199, 18
HSL
64°, 83%, 43%
CMYK
6, 0, 91, 22
Luminance
0.5146

Every format

HEX#bbc712
RGBrgb(187, 199, 18)
HSLhsl(64, 83%, 43%)
CMYKcmyk(6%, 0%, 91%, 22%)
LABlab(77.0 -22.8 75.3)
LCHlch(77.0 78.7 106.8)
OKLCHoklch(0.794 0.175 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc712 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#bbc712 on black: 11.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green78.0%
Blue7.1%

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow91.0%
Key (black)22.0%

Color previews

#bbc712 text on a black background

contrast 11.29:1

Card sample

#bbc712 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc712

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc712 in the Color Lab