Skip to content

#405f21

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

RGB
64, 95, 33
HSL
90°, 48%, 25%
CMYK
33, 0, 65, 63
Luminance
0.0938

Every format

HEX#405f21
RGBrgb(64, 95, 33)
HSLhsl(90, 48%, 25%)
CMYKcmyk(33%, 0%, 65%, 63%)
LABlab(36.7 -22.9 31.1)
LCHlch(36.7 38.6 126.4)
OKLCHoklch(0.447 0.097 131.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#405f21 on white: 7.30:1
AA ✓ pass · AA-large · AAA
Aa
#405f21 on black: 2.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green37.3%
Blue12.9%

CMYK percentages

Cyan32.6%
Magenta0.0%
Yellow65.3%
Key (black)62.7%

Color previews

#405f21 text on a black background

contrast 2.88:1

Card sample

#405f21 text on a white background

contrast 7.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 95, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 95, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #405f21;
background: linear-gradient(135deg, #405f21, #215F2B);

Monochromatic scale

Palettes built from #405f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #405f21 in the Color Lab