Skip to content

#a68c01

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

RGB
166, 140, 1
HSL
51°, 99%, 33%
CMYK
0, 16, 99, 35
Luminance
0.2687

Every format

HEX#a68c01
RGBrgb(166, 140, 1)
HSLhsl(51, 99%, 33%)
CMYKcmyk(0%, 16%, 99%, 35%)
LABlab(58.9 -1.8 63.2)
LCHlch(58.9 63.2 91.6)
OKLCHoklch(0.645 0.132 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a68c01 on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#a68c01 on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green54.9%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow99.4%
Key (black)34.9%

Color previews

#a68c01 text on a black background

contrast 6.37:1

Card sample

#a68c01 text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(166, 140, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 140, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a68c01;
background: linear-gradient(135deg, #a68c01, #52A601);

Monochromatic scale

Palettes built from #a68c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a68c01 in the Color Lab