Skip to content

#535021

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

RGB
83, 80, 33
HSL
56°, 43%, 23%
CMYK
0, 4, 60, 68
Luminance
0.0769

Every format

HEX#535021
RGBrgb(83, 80, 33)
HSLhsl(56, 43%, 23%)
CMYKcmyk(0%, 4%, 60%, 68%)
LABlab(33.3 -5.9 27.7)
LCHlch(33.3 28.3 102.1)
OKLCHoklch(0.423 0.067 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#535021 on white: 8.28:1
AA ✓ pass · AA-large · AAA
Aa
#535021 on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green31.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow60.2%
Key (black)67.5%

Color previews

#535021 text on a black background

contrast 2.54:1

Card sample

#535021 text on a white background

contrast 8.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #535021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #535021 in the Color Lab