Skip to content

#b19e21

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

RGB
177, 158, 33
HSL
52°, 69%, 41%
CMYK
0, 11, 81, 31
Luminance
0.3391

Every format

HEX#b19e21
RGBrgb(177, 158, 33)
HSLhsl(52, 69%, 41%)
CMYKcmyk(0%, 11%, 81%, 31%)
LABlab(64.9 -5.9 61.8)
LCHlch(64.9 62.1 95.4)
OKLCHoklch(0.695 0.136 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b19e21 on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#b19e21 on black: 7.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green62.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.7%
Yellow81.4%
Key (black)30.6%

Color previews

#b19e21 text on a black background

contrast 7.78:1

Card sample

#b19e21 text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b19e21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b19e21 in the Color Lab