Skip to content

#b89a21

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

RGB
184, 154, 33
HSL
48°, 70%, 43%
CMYK
0, 16, 82, 28
Luminance
0.3341

Every format

HEX#b89a21
RGBrgb(184, 154, 33)
HSLhsl(48, 70%, 43%)
CMYKcmyk(0%, 16%, 82%, 28%)
LABlab(64.5 -0.6 61.7)
LCHlch(64.5 61.7 90.5)
OKLCHoklch(0.694 0.133 93.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b89a21 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#b89a21 on black: 7.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.2%
Green60.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta16.3%
Yellow82.1%
Key (black)27.8%

Color previews

#b89a21 text on a black background

contrast 7.68:1

Card sample

#b89a21 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(184, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(184, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b89a21;
background: linear-gradient(135deg, #b89a21, #71B821);

Monochromatic scale

Palettes built from #b89a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b89a21 in the Color Lab