Skip to content

#bbc802

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

RGB
187, 200, 2
HSL
64°, 98%, 40%
CMYK
7, 0, 99, 22
Luminance
0.5188

Every format

HEX#bbc802
RGBrgb(187, 200, 2)
HSLhsl(64, 98%, 40%)
CMYKcmyk(7%, 0%, 99%, 22%)
LABlab(77.2 -23.5 77.3)
LCHlch(77.2 80.8 106.9)
OKLCHoklch(0.795 0.179 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc802 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#bbc802 on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green78.4%
Blue0.8%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow99.0%
Key (black)21.6%

Color previews

#bbc802 text on a black background

contrast 11.38:1

Card sample

#bbc802 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 200, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 200, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc802;
background: linear-gradient(135deg, #bbc802, #37C802);

Monochromatic scale

Palettes built from #bbc802

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc802 in the Color Lab