Skip to content

#bbc804

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

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

Every format

HEX#bbc804
RGBrgb(187, 200, 4)
HSLhsl(64, 96%, 40%)
CMYKcmyk(7%, 0%, 98%, 22%)
LABlab(77.2 -23.4 77.1)
LCHlch(77.2 80.6 106.9)
OKLCHoklch(0.795 0.179 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green78.4%
Blue1.6%

CMYK percentages

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

Color previews

#bbc804 text on a black background

contrast 11.38:1

Card sample

#bbc804 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc804

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc804 in the Color Lab