Skip to content

#b19a21

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

RGB
177, 154, 33
HSL
50°, 69%, 41%
CMYK
0, 13, 81, 31
Luminance
0.3257

Every format

HEX#b19a21
RGBrgb(177, 154, 33)
HSLhsl(50, 69%, 41%)
CMYKcmyk(0%, 13%, 81%, 31%)
LABlab(63.8 -3.7 60.9)
LCHlch(63.8 61.0 93.5)
OKLCHoklch(0.687 0.133 97.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b19a21 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#b19a21 on black: 7.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green60.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta13.0%
Yellow81.4%
Key (black)30.6%

Color previews

#b19a21 text on a black background

contrast 7.51:1

Card sample

#b19a21 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b19a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b19a21 in the Color Lab