Skip to content

#bbaa22

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

RGB
187, 170, 34
HSL
53°, 69%, 43%
CMYK
0, 9, 82, 27
Luminance
0.3943

Every format

HEX#bbaa22
RGBrgb(187, 170, 34)
HSLhsl(53, 69%, 43%)
CMYKcmyk(0%, 9%, 82%, 27%)
LABlab(69.1 -7.7 65.5)
LCHlch(69.1 66.0 96.7)
OKLCHoklch(0.731 0.144 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green66.7%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow81.8%
Key (black)26.7%

Color previews

#bbaa22 text on a black background

contrast 8.89:1

Card sample

#bbaa22 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbaa22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbaa22 in the Color Lab