Skip to content

#585021

a deep, vivid yellow · cool · closest name: darkslategray

RGB
88, 80, 33
HSL
51°, 46%, 24%
CMYK
0, 9, 63, 66
Luminance
0.0792

Every format

HEX#585021
RGBrgb(88, 80, 33)
HSLhsl(51, 46%, 24%)
CMYKcmyk(0%, 9%, 63%, 66%)
LABlab(33.8 -3.5 28.4)
LCHlch(33.8 28.6 97.0)
OKLCHoklch(0.428 0.067 99.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#585021 on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#585021 on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.5%
Green31.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow62.5%
Key (black)65.5%

Color previews

#585021 text on a black background

contrast 2.58:1

Card sample

#585021 text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(88, 80, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(88, 80, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #585021;
background: linear-gradient(135deg, #585021, #3B5821);

Monochromatic scale

Palettes built from #585021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #585021 in the Color Lab