Skip to content

#a68b21

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

RGB
166, 139, 33
HSL
48°, 67%, 39%
CMYK
0, 16, 80, 35
Luminance
0.2668

Every format

HEX#a68b21
RGBrgb(166, 139, 33)
HSLhsl(48, 67%, 39%)
CMYKcmyk(0%, 16%, 80%, 35%)
LABlab(58.7 -0.5 55.9)
LCHlch(58.7 55.9 90.6)
OKLCHoklch(0.644 0.122 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a68b21 on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#a68b21 on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green54.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta16.3%
Yellow80.1%
Key (black)34.9%

Color previews

#a68b21 text on a black background

contrast 6.34:1

Card sample

#a68b21 text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a68b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a68b21 in the Color Lab