Skip to content

#535421

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

RGB
83, 84, 33
HSL
61°, 44%, 23%
CMYK
1, 0, 61, 67
Luminance
0.0829

Every format

HEX#535421
RGBrgb(83, 84, 33)
HSLhsl(61, 44%, 23%)
CMYKcmyk(1%, 0%, 61%, 67%)
LABlab(34.6 -8.3 29.1)
LCHlch(34.6 30.3 105.9)
OKLCHoklch(0.433 0.072 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#535421 on white: 7.90:1
AA ✓ pass · AA-large · AAA
Aa
#535421 on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.5%
Green32.9%
Blue12.9%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow60.7%
Key (black)67.1%

Color previews

#535421 text on a black background

contrast 2.66:1

Card sample

#535421 text on a white background

contrast 7.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #535421

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #535421 in the Color Lab