Skip to content

#b48f21

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

RGB
180, 143, 33
HSL
45°, 69%, 42%
CMYK
0, 21, 82, 29
Luminance
0.2946

Every format

HEX#b48f21
RGBrgb(180, 143, 33)
HSLhsl(45, 69%, 42%)
CMYKcmyk(0%, 21%, 82%, 29%)
LABlab(61.2 3.6 58.7)
LCHlch(61.2 58.8 86.5)
OKLCHoklch(0.667 0.127 88.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b48f21 on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#b48f21 on black: 6.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green56.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta20.6%
Yellow81.7%
Key (black)29.4%

Color previews

#b48f21 text on a black background

contrast 6.89:1

Card sample

#b48f21 text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 143, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 143, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b48f21;
background: linear-gradient(135deg, #b48f21, #77B421);

Monochromatic scale

Palettes built from #b48f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b48f21 in the Color Lab