#405039 color

#405039 rgb(64, 80, 57)
Shades of green

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

In the RGB color model it is made of 25.1% red, 31.4% green and 22.4% blue (64, 80, 57).

Its hue angle is 102°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 29% yellow and 69% black.

The closest named color is Hōjicha (#424F3B), a difference of 1.6 ΔE, which is barely visible.

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

#405039 color codes

HEX#405039
RGBrgb(64, 80, 57)
RGB percentrgb(25.1%, 31.4%, 22.4%)
HSLhsl(102, 17%, 27%)
HSV / HSBhsv(102, 29%, 31%)
CMYKcmyk(20%, 0%, 29%, 69%)
CIE LABlab(32.08, -11.3, 11.56)
CIE LCHlch(32.08, 16.17, 134.37)
CIE XYZxyz(5.721, 7.123, 4.943)
Decimal4214841
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #405039; }
.text { color: #405039; }
.border { border: 2px solid #405039; }
.transparent { background-color: rgb(64 80 57 / 50%); }
.gradient { background: linear-gradient(to right, #405039, #39503e); }
Background
Text color
Border

Similar colors

Closest common color name: Ebony.

Questions

What color is #405039?
#405039 is a dark, grayish green, closest to the named color Hōjicha. It belongs to the green family of colors.
What is the RGB value of #405039?
The RGB value is 64, 80, 57: 64 red, 80 green and 57 blue on a 0 to 255 scale.
What is the complementary color of #405039?
The complementary color is #493950, found by rotating the hue 180° on the color wheel.
Is black or white text better on #405039?
White text. Black text has a contrast ratio of 2.42:1 and white text 8.66:1. WCAG asks for at least 4.5:1 for normal text.