Skip to content

#464921

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

RGB
70, 73, 33
HSL
65°, 38%, 21%
CMYK
4, 0, 55, 71
Luminance
0.0618

Every format

HEX#464921
RGBrgb(70, 73, 33)
HSLhsl(65, 38%, 21%)
CMYKcmyk(4%, 0%, 55%, 71%)
LABlab(29.9 -8.1 23.3)
LCHlch(29.9 24.7 109.1)
OKLCHoklch(0.393 0.060 112.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#464921 on white: 9.39:1
AA ✓ pass · AA-large · AAA
Aa
#464921 on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red27.5%
Green28.6%
Blue12.9%

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow54.8%
Key (black)71.4%

Color previews

#464921 text on a black background

contrast 2.24:1

Card sample

#464921 text on a white background

contrast 9.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #464921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #464921 in the Color Lab