#40514D color

#40514D rgb(64, 81, 77)
Shades of gray

The hex color #40514D is a dark, grayish spring green.

In the RGB color model it is made of 25.1% red, 31.8% green and 30.2% blue (64, 81, 77).

Its hue angle is 166°, with 12% saturation and 28% lightness. For print, the CMYK equivalent is 21% cyan, 0% magenta, 5% yellow and 68% black.

The closest named color is Night Watch (#3C4F4E), a difference of 1.9 ΔE, which is barely visible.

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

#40514D color codes

HEX#40514D
RGBrgb(64, 81, 77)
RGB percentrgb(25.1%, 31.8%, 30.2%)
HSLhsl(166, 12%, 28%)
HSV / HSBhsv(166, 21%, 32%)
CMYKcmyk(21%, 0%, 5%, 68%)
CIE LABlab(32.94, -7.58, 0.16)
CIE LCHlch(32.94, 7.59, 178.82)
CIE XYZxyz(6.396, 7.51, 8.132)
Decimal4215117
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #40514d; }
.text { color: #40514d; }
.border { border: 2px solid #40514d; }
.transparent { background-color: rgb(64 81 77 / 50%); }
.gradient { background: linear-gradient(to right, #40514d, #404d51); }
Background
Text color
Border

Similar colors

Questions

What color is #40514D?
#40514D is a dark, grayish spring green, closest to the named color Night Watch. It belongs to the gray family of colors.
What is the RGB value of #40514D?
The RGB value is 64, 81, 77: 64 red, 81 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #40514D?
The complementary color is #514044, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40514D?
White text. Black text has a contrast ratio of 2.5:1 and white text 8.39:1. WCAG asks for at least 4.5:1 for normal text.