Skip to content

#bbc027

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

RGB
187, 192, 39
HSL
62°, 66%, 45%
CMYK
3, 0, 80, 25
Luminance
0.4841

Every format

HEX#bbc027
RGBrgb(187, 192, 39)
HSLhsl(62, 66%, 45%)
CMYKcmyk(3%, 0%, 80%, 25%)
LABlab(75.1 -18.8 69.4)
LCHlch(75.1 71.9 105.2)
OKLCHoklch(0.779 0.162 111.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc027 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#bbc027 on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green75.3%
Blue15.3%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow79.7%
Key (black)24.7%

Color previews

#bbc027 text on a black background

contrast 10.68:1

Card sample

#bbc027 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 192, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 192, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc027;
background: linear-gradient(135deg, #bbc027, #55C027);

Monochromatic scale

Palettes built from #bbc027

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc027 in the Color Lab