Skip to content

#b39f21

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

RGB
179, 159, 33
HSL
52°, 69%, 42%
CMYK
0, 11, 82, 30
Luminance
0.3449

Every format

HEX#b39f21
RGBrgb(179, 159, 33)
HSLhsl(52, 69%, 42%)
CMYKcmyk(0%, 11%, 82%, 30%)
LABlab(65.3 -5.5 62.3)
LCHlch(65.3 62.5 95.0)
OKLCHoklch(0.700 0.136 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b39f21 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#b39f21 on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green62.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow81.6%
Key (black)29.8%

Color previews

#b39f21 text on a black background

contrast 7.90:1

Card sample

#b39f21 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 159, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 159, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b39f21;
background: linear-gradient(135deg, #b39f21, #66B321);

Monochromatic scale

Palettes built from #b39f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b39f21 in the Color Lab