Skip to content

#bbc112

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

RGB
187, 193, 18
HSL
62°, 83%, 41%
CMYK
3, 0, 91, 24
Luminance
0.4875

Every format

HEX#bbc112
RGBrgb(187, 193, 18)
HSLhsl(62, 83%, 41%)
CMYKcmyk(3%, 0%, 91%, 24%)
LABlab(75.3 -19.8 74.0)
LCHlch(75.3 76.6 105.0)
OKLCHoklch(0.780 0.170 112.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc112 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#bbc112 on black: 10.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow90.7%
Key (black)24.3%

Color previews

#bbc112 text on a black background

contrast 10.75:1

Card sample

#bbc112 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc112

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc112 in the Color Lab