#405C40 color

#405C40 rgb(64, 92, 64)
Shades of green

The hex color #405C40 is a dark, grayish green.

In the RGB color model it is made of 25.1% red, 36.1% green and 25.1% blue (64, 92, 64).

Its hue angle is 120°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 30% cyan, 0% magenta, 30% yellow and 64% black.

The closest named color is Ficus (#3B593A), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 7.44:1).

#405C40 color codes

HEX#405C40
RGBrgb(64, 92, 64)
RGB percentrgb(25.1%, 36.1%, 25.1%)
HSLhsl(120, 18%, 31%)
HSV / HSBhsv(120, 30%, 36%)
CMYKcmyk(30%, 0%, 30%, 64%)
CIE LABlab(36.2, -16.77, 12.87)
CIE LCHlch(36.2, 21.14, 142.5)
CIE XYZxyz(6.867, 9.114, 6.247)
Decimal4217920
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #405C40, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #405C40RatioAAAAAAA large
Sample text2.82:1FailFailFail
Sample text7.44:1PassPassPass
#405C40 as text onRatioAAAAAAA large
Sample text7.44:1PassPassPass
Sample text2.82:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #405C40 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #405c40; }
.text { color: #405c40; }
.border { border: 2px solid #405c40; }
.transparent { background-color: rgb(64 92 64 / 50%); }
.gradient { background: linear-gradient(to right, #405c40, #405c4e); }
Background
Text color
Border

Similar colors

Questions

What color is #405C40?
#405C40 is a dark, grayish green, closest to the named color Ficus. It belongs to the green family of colors.
What is the RGB value of #405C40?
The RGB value is 64, 92, 64: 64 red, 92 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #405C40?
The complementary color is #5C405C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #405C40?
White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.