Skip to content

#565021

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

RGB
86, 80, 33
HSL
53°, 45%, 23%
CMYK
0, 7, 62, 66
Luminance
0.0783

Every format

HEX#565021
RGBrgb(86, 80, 33)
HSLhsl(53, 45%, 23%)
CMYKcmyk(0%, 7%, 62%, 66%)
LABlab(33.6 -4.5 28.1)
LCHlch(33.6 28.4 99.0)
OKLCHoklch(0.426 0.067 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#565021 on white: 8.19:1
AA ✓ pass · AA-large · AAA
Aa
#565021 on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green31.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta7.0%
Yellow61.6%
Key (black)66.3%

Color previews

#565021 text on a black background

contrast 2.57:1

Card sample

#565021 text on a white background

contrast 8.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #565021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #565021 in the Color Lab