Skip to content

#bbcc28

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

RGB
187, 204, 40
HSL
66°, 67%, 48%
CMYK
8, 0, 80, 20
Luminance
0.5390

Every format

HEX#bbcc28
RGBrgb(187, 204, 40)
HSLhsl(66, 67%, 48%)
CMYKcmyk(8%, 0%, 80%, 20%)
LABlab(78.4 -24.7 72.0)
LCHlch(78.4 76.1 108.9)
OKLCHoklch(0.805 0.174 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green80.0%
Blue15.7%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow80.4%
Key (black)20.0%

Color previews

#bbcc28 text on a black background

contrast 11.78:1

Card sample

#bbcc28 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbcc28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbcc28 in the Color Lab