#454940 color
The hex color #454940 is a dark gray.
In the RGB color model it is made of 27.1% red, 28.6% green and 25.1% blue (69, 73, 64).
Its hue angle is 87°, with 7% saturation and 27% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 12% yellow and 71% black.
The closest named color is Ancient Pine (#444B43), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.21:1).
#454940 color codes
| HEX | #454940 | |
|---|---|---|
| RGB | rgb(69, 73, 64) | |
| RGB percent | rgb(27.1%, 28.6%, 25.1%) | |
| HSL | hsl(87, 7%, 27%) | |
| HSV / HSB | hsv(87, 12%, 29%) | |
| CMYK | cmyk(5%, 0%, 12%, 71%) | |
| CIE LAB | lab(30.4, -3.59, 4.83) | |
| CIE LCH | lch(30.4, 6.02, 126.59) | |
| CIE XYZ | xyz(5.762, 6.4, 5.781) | |
| Decimal | 4540736 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #454940, 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 #454940 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.21:1 | Pass | Pass | Pass |
| #454940 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.21:1 | Pass | Pass | Pass |
| Sample text | 2.28:1 | Fail | Fail | Fail |
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 #454940 looks to people with the most common types of color vision deficiency.
#4a4840Protanopia
no red cones#494840Deuteranopia
no green cones#464846Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #454940; }
.text { color: #454940; }
.border { border: 2px solid #454940; }
.transparent { background-color: rgb(69 73 64 / 50%); }
.gradient { background: linear-gradient(to right, #454940, #414940); }
Similar colors
#444b43Ancient Pine#46473eHeavy Metal#484a46Armadillo#3c463eDeep Forest#49463fWhiskey and Wine#424c4aUrban Chic#444b4aMoonless Sky#3b3c36Black Olive
Closest common color name: Onyx.
Questions
- What color is #454940?
- #454940 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 #454940?
- The RGB value is 69, 73, 64: 69 red, 73 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #454940?
- The complementary color is #444049, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #454940?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.21:1. WCAG asks for at least 4.5:1 for normal text.