Skip to content

#406021

a dark, vivid green · cool · closest name: seagreen

RGB
64, 96, 33
HSL
91°, 49%, 25%
CMYK
33, 0, 66, 62
Luminance
0.0957

Every format

HEX#406021
RGBrgb(64, 96, 33)
HSLhsl(91, 49%, 25%)
CMYKcmyk(33%, 0%, 66%, 62%)
LABlab(37.0 -23.4 31.5)
LCHlch(37.0 39.3 126.7)
OKLCHoklch(0.449 0.098 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#406021 on white: 7.21:1
AA ✓ pass · AA-large · AAA
Aa
#406021 on black: 2.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green37.6%
Blue12.9%

CMYK percentages

Cyan33.3%
Magenta0.0%
Yellow65.6%
Key (black)62.4%

Color previews

#406021 text on a black background

contrast 2.91:1

Card sample

#406021 text on a white background

contrast 7.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #406021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #406021 in the Color Lab