Skip to content

#bbaa21

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

RGB
187, 170, 33
HSL
53°, 70%, 43%
CMYK
0, 9, 82, 27
Luminance
0.3942

Every format

HEX#bbaa21
RGBrgb(187, 170, 33)
HSLhsl(53, 70%, 43%)
CMYKcmyk(0%, 9%, 82%, 27%)
LABlab(69.1 -7.8 65.8)
LCHlch(69.1 66.3 96.7)
OKLCHoklch(0.731 0.145 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbaa21 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#bbaa21 on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green66.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow82.4%
Key (black)26.7%

Color previews

#bbaa21 text on a black background

contrast 8.88:1

Card sample

#bbaa21 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbaa21;
background: linear-gradient(135deg, #bbaa21, #65BB21);

Monochromatic scale

Palettes built from #bbaa21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbaa21 in the Color Lab