Skip to content

#bbc02f

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

RGB
187, 192, 47
HSL
62°, 61%, 47%
CMYK
3, 0, 76, 25
Luminance
0.4847

Every format

HEX#bbc02f
RGBrgb(187, 192, 47)
HSLhsl(62, 61%, 47%)
CMYKcmyk(3%, 0%, 76%, 25%)
LABlab(75.1 -18.5 67.0)
LCHlch(75.1 69.5 105.4)
OKLCHoklch(0.779 0.158 111.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc02f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bbc02f on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green75.3%
Blue18.4%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow75.5%
Key (black)24.7%

Color previews

#bbc02f text on a black background

contrast 10.69:1

Card sample

#bbc02f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc02f in the Color Lab