#405640 color

#405640 rgb(64, 86, 64)
Shades of green

The hex color #405640 is a dark, grayish green.

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

Its hue angle is 120°, with 15% saturation and 29% lightness. For print, the CMYK equivalent is 26% cyan, 0% magenta, 26% yellow and 66% black.

The closest named color is Highlander (#3A533D), a difference of 1.5 ΔE, which is barely visible.

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

#405640 color codes

HEX#405640
RGBrgb(64, 86, 64)
RGB percentrgb(25.1%, 33.7%, 25.1%)
HSLhsl(120, 15%, 29%)
HSV / HSBhsv(120, 26%, 34%)
CMYKcmyk(26%, 0%, 26%, 66%)
CIE LABlab(34.22, -13.41, 10.14)
CIE LCHlch(34.22, 16.81, 142.89)
CIE XYZxyz(6.367, 8.116, 6.08)
Decimal4216384
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #405640, 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 #405640RatioAAAAAAA large
Sample text2.62:1FailFailFail
Sample text8.01:1PassPassPass
#405640 as text onRatioAAAAAAA large
Sample text8.01:1PassPassPass
Sample text2.62: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 #405640 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #405640; }
.text { color: #405640; }
.border { border: 2px solid #405640; }
.transparent { background-color: rgb(64 86 64 / 50%); }
.gradient { background: linear-gradient(to right, #405640, #40564b); }
Background
Text color
Border

Similar colors

Closest common color name: Hunter Green.

Questions

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