#424940 color

#424940 rgb(66, 73, 64)
Shades of gray

The hex color #424940 is a dark gray.

In the RGB color model it is made of 25.9% red, 28.6% green and 25.1% blue (66, 73, 64).

Its hue angle is 107°, with 7% saturation and 27% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 12% yellow and 71% black.

The closest named color is Ancient Pine (#444B43), a difference of 0.9 ΔE, which is barely visible.

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

#424940 color codes

HEX#424940
RGBrgb(66, 73, 64)
RGB percentrgb(25.9%, 28.6%, 25.1%)
HSLhsl(107, 7%, 27%)
HSV / HSBhsv(107, 12%, 29%)
CMYKcmyk(10%, 0%, 12%, 71%)
CIE LABlab(30.14, -4.85, 4.42)
CIE LCHlch(30.14, 6.57, 137.64)
CIE XYZxyz(5.555, 6.293, 5.772)
Decimal4344128
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #424940; }
.text { color: #424940; }
.border { border: 2px solid #424940; }
.transparent { background-color: rgb(66 73 64 / 50%); }
.gradient { background: linear-gradient(to right, #424940, #404942); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #424940?
#424940 is a dark gray, closest to the named color Ancient Pine. It belongs to the gray family of colors.
What is the RGB value of #424940?
The RGB value is 66, 73, 64: 66 red, 73 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #424940?
The complementary color is #474049, found by rotating the hue 180° on the color wheel.
Is black or white text better on #424940?
White text. Black text has a contrast ratio of 2.26:1 and white text 9.3:1. WCAG asks for at least 4.5:1 for normal text.