Skip to content

#bba839

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

RGB
187, 168, 57
HSL
51°, 53%, 48%
CMYK
0, 10, 70, 27
Luminance
0.3887

Every format

HEX#bba839
RGBrgb(187, 168, 57)
HSLhsl(51, 53%, 48%)
CMYKcmyk(0%, 10%, 70%, 27%)
LABlab(68.7 -5.7 57.2)
LCHlch(68.7 57.5 95.7)
OKLCHoklch(0.728 0.130 99.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba839 on white: 2.39:1
AA ✗ fail · AA-large · AAA
Aa
#bba839 on black: 8.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green65.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta10.2%
Yellow69.5%
Key (black)26.7%

Color previews

#bba839 text on a black background

contrast 8.77:1

Card sample

#bba839 text on a white background

contrast 2.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 168, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 168, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba839;
background: linear-gradient(135deg, #bba839, #77BB39);

Monochromatic scale

Palettes built from #bba839

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba839 in the Color Lab