Skip to content

#bbc338

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

RGB
187, 195, 56
HSL
64°, 55%, 49%
CMYK
4, 0, 71, 24
Luminance
0.4988

Every format

HEX#bbc338
RGBrgb(187, 195, 56)
HSLhsl(64, 55%, 49%)
CMYKcmyk(4%, 0%, 71%, 24%)
LABlab(76.0 -19.6 64.8)
LCHlch(76.0 67.7 106.8)
OKLCHoklch(0.786 0.156 112.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc338 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#bbc338 on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green76.5%
Blue22.0%

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow71.3%
Key (black)23.5%

Color previews

#bbc338 text on a black background

contrast 10.98:1

Card sample

#bbc338 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbc338

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc338 in the Color Lab