Skip to content

#535521

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

RGB
83, 85, 33
HSL
62°, 44%, 23%
CMYK
2, 0, 61, 67
Luminance
0.0845

Every format

HEX#535521
RGBrgb(83, 85, 33)
HSLhsl(62, 44%, 23%)
CMYKcmyk(2%, 0%, 61%, 67%)
LABlab(34.9 -8.9 29.5)
LCHlch(34.9 30.8 106.8)
OKLCHoklch(0.436 0.073 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#535521 on white: 7.81:1
AA ✓ pass · AA-large · AAA
Aa
#535521 on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green33.3%
Blue12.9%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow61.2%
Key (black)66.7%

Color previews

#535521 text on a black background

contrast 2.69:1

Card sample

#535521 text on a white background

contrast 7.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #535521

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #535521 in the Color Lab