Skip to content

#bbc302

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

RGB
187, 195, 2
HSL
63°, 98%, 39%
CMYK
4, 0, 99, 24
Luminance
0.4960

Every format

HEX#bbc302
RGBrgb(187, 195, 2)
HSLhsl(63, 98%, 39%)
CMYKcmyk(4%, 0%, 99%, 24%)
LABlab(75.8 -21.0 76.3)
LCHlch(75.8 79.1 105.4)
OKLCHoklch(0.784 0.174 112.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc302 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#bbc302 on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green76.5%
Blue0.8%

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow99.0%
Key (black)23.5%

Color previews

#bbc302 text on a black background

contrast 10.92:1

Card sample

#bbc302 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc302

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc302 in the Color Lab