Skip to content

#bbca2d

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

RGB
187, 202, 45
HSL
66°, 64%, 48%
CMYK
7, 0, 78, 21
Luminance
0.5300

Every format

HEX#bbca2d
RGBrgb(187, 202, 45)
HSLhsl(66, 64%, 48%)
CMYKcmyk(7%, 0%, 78%, 21%)
LABlab(77.9 -23.5 70.2)
LCHlch(77.9 74.0 108.5)
OKLCHoklch(0.801 0.169 115.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbca2d on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#bbca2d on black: 11.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green79.2%
Blue17.6%

CMYK percentages

Cyan7.4%
Magenta0.0%
Yellow77.7%
Key (black)20.8%

Color previews

#bbca2d text on a black background

contrast 11.60:1

Card sample

#bbca2d text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 202, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 202, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbca2d;
background: linear-gradient(135deg, #bbca2d, #52CA2D);

Monochromatic scale

Palettes built from #bbca2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbca2d in the Color Lab