#405F45 color

#405F45 rgb(64, 95, 69)
Shades of green

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

In the RGB color model it is made of 25.1% red, 37.3% green and 27.1% blue (64, 95, 69).

Its hue angle is 130°, with 19% saturation and 31% lightness. For print, the CMYK equivalent is 33% cyan, 0% magenta, 27% yellow and 63% black.

The closest named color is Herbes de Provence (#3A5F49), a difference of 2.2 ΔE, a small difference.

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

#405F45 color codes

HEX#405F45
RGBrgb(64, 95, 69)
RGB percentrgb(25.1%, 37.3%, 27.1%)
HSLhsl(130, 19%, 31%)
HSV / HSBhsv(130, 33%, 37%)
CMYKcmyk(33%, 0%, 27%, 63%)
CIE LABlab(37.31, -17.42, 11.34)
CIE LCHlch(37.31, 20.78, 146.95)
CIE XYZxyz(7.28, 9.704, 7.118)
Decimal4218693
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #405F45, 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 #405F45RatioAAAAAAA large
Sample text2.94:1FailFailFail
Sample text7.14:1PassPassPass
#405F45 as text onRatioAAAAAAA large
Sample text7.14:1PassPassPass
Sample text2.94: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 #405F45 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

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