Skip to content

#524921

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

RGB
82, 73, 33
HSL
49°, 43%, 23%
CMYK
0, 11, 60, 68
Luminance
0.0667

Every format

HEX#524921
RGBrgb(82, 73, 33)
HSLhsl(49, 43%, 23%)
CMYKcmyk(0%, 11%, 60%, 68%)
LABlab(31.0 -2.2 25.0)
LCHlch(31.0 25.1 95.0)
OKLCHoklch(0.405 0.059 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#524921 on white: 9.00:1
AA ✓ pass · AA-large · AAA
Aa
#524921 on black: 2.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red32.2%
Green28.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta11.0%
Yellow59.8%
Key (black)67.8%

Color previews

#524921 text on a black background

contrast 2.33:1

Card sample

#524921 text on a white background

contrast 9.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #524921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #524921 in the Color Lab