Skip to content

#424021

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

RGB
66, 64, 33
HSL
56°, 33%, 19%
CMYK
0, 3, 50, 74
Luminance
0.0493

Every format

HEX#424021
RGBrgb(66, 64, 33)
HSLhsl(56, 33%, 19%)
CMYKcmyk(0%, 3%, 50%, 74%)
LABlab(26.6 -4.5 19.2)
LCHlch(26.6 19.7 103.1)
OKLCHoklch(0.365 0.048 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#424021 on white: 10.57:1
AA ✓ pass · AA-large · AAA
Aa
#424021 on black: 1.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green25.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta3.0%
Yellow50.0%
Key (black)74.1%

Color previews

#424021 text on a black background

contrast 1.99:1

Card sample

#424021 text on a white background

contrast 10.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #424021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #424021 in the Color Lab