Skip to content

#bbcc2b

a balanced, vivid yellow · cool · closest name: gold

RGB
187, 204, 43
HSL
66°, 65%, 48%
CMYK
8, 0, 79, 20
Luminance
0.5392

Every format

HEX#bbcc2b
RGBrgb(187, 204, 43)
HSLhsl(66, 65%, 48%)
CMYKcmyk(8%, 0%, 79%, 20%)
LABlab(78.4 -24.6 71.2)
LCHlch(78.4 75.3 109.0)
OKLCHoklch(0.806 0.172 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbcc2b on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#bbcc2b on black: 11.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green80.0%
Blue16.9%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow78.9%
Key (black)20.0%

Color previews

#bbcc2b text on a black background

contrast 11.78:1

Card sample

#bbcc2b text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 204, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 204, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbcc2b;
background: linear-gradient(135deg, #bbcc2b, #50CC2B);

Monochromatic scale

Palettes built from #bbcc2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbcc2b in the Color Lab