Skip to content

#bbaa55

a balanced, soft yellow · cool · closest name: khaki

RGB
187, 170, 85
HSL
50°, 43%, 53%
CMYK
0, 9, 55, 27
Luminance
0.3997

Every format

HEX#bbaa55
RGBrgb(187, 170, 85)
HSLhsl(50, 43%, 53%)
CMYKcmyk(0%, 9%, 55%, 27%)
LABlab(69.5 -4.8 45.5)
LCHlch(69.5 45.7 96.1)
OKLCHoklch(0.735 0.108 98.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbaa55 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#bbaa55 on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green66.7%
Blue33.3%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow54.5%
Key (black)26.7%

Color previews

#bbaa55 text on a black background

contrast 8.99:1

Card sample

#bbaa55 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbaa55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbaa55 in the Color Lab