Skip to content

#343021

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

RGB
52, 48, 33
HSL
47°, 22%, 17%
CMYK
0, 8, 37, 80
Luminance
0.0295

Every format

HEX#343021
RGBrgb(52, 48, 33)
HSLhsl(47, 22%, 17%)
CMYKcmyk(0%, 8%, 37%, 80%)
LABlab(19.9 -1.1 10.3)
LCHlch(19.9 10.3 96.2)
OKLCHoklch(0.309 0.026 95.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#343021 on white: 13.20:1
AA ✓ pass · AA-large · AAA
Aa
#343021 on black: 1.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.4%
Green18.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta7.7%
Yellow36.5%
Key (black)79.6%

Color previews

#343021 text on a black background

contrast 1.59:1

Card sample

#343021 text on a white background

contrast 13.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(52, 48, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 48, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #343021;
background: linear-gradient(135deg, #343021, #2B3421);

Monochromatic scale

Palettes built from #343021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #343021 in the Color Lab