#5F6D6A color
The hex color #5F6D6A is a gray.
In the RGB color model it is made of 37.3% red, 42.7% green and 41.6% blue (95, 109, 106).
Its hue angle is 167°, with 7% saturation and 40% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 3% yellow and 57% black.
The closest named color is Wrapped in Twilight (#5F6D6E), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.41:1).
#5F6D6A color codes
| HEX | #5F6D6A | |
|---|---|---|
| RGB | rgb(95, 109, 106) | |
| RGB percent | rgb(37.3%, 42.7%, 41.6%) | |
| HSL | hsl(167, 7%, 40%) | |
| HSV / HSB | hsv(167, 13%, 43%) | |
| CMYK | cmyk(13%, 0%, 3%, 57%) | |
| CIE LAB | lab(44.82, -5.93, -0.11) | |
| CIE LCH | lch(44.82, 5.93, 181.08) | |
| CIE XYZ | xyz(12.789, 14.411, 15.741) | |
| Decimal | 6253930 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6D6A, 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 #5F6D6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.88:1 | Fail | Fail | Pass |
| Sample text | 5.41:1 | Pass | Fail | Pass |
| #5F6D6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.41:1 | Pass | Fail | Pass |
| Sample text | 3.88:1 | Fail | Fail | Pass |
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 #5F6D6A looks to people with the most common types of color vision deficiency.
#6c6b6aProtanopia
no red cones#69696aDeuteranopia
no green cones#5c6e6cTritanopia
no blue cones#6a6a6aAchromatopsia
no color vision
CSS examples
.background { background-color: #5f6d6a; }
.text { color: #5f6d6a; }
.border { border: 2px solid #5f6d6a; }
.transparent { background-color: rgb(95 109 106 / 50%); }
.gradient { background: linear-gradient(to right, #5f6d6a, #5f696d); }
Similar colors
#5f6d6eWrapped in Twilight#556962Dark Forest#656e72Batman#67786eCamping Trip#6b6d6aShadows#566062Yacht Club#6a6b65Armoury#6e797bPhantom
Closest common color name: Dim Gray.
Questions
- What color is #5F6D6A?
- #5F6D6A is a gray, closest to the named color Wrapped in Twilight. It belongs to the gray family of colors.
- What is the RGB value of #5F6D6A?
- The RGB value is 95, 109, 106: 95 red, 109 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #5F6D6A?
- The complementary color is #6D5F62, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6D6A?
- White text. Black text has a contrast ratio of 3.88:1 and white text 5.41:1. WCAG asks for at least 4.5:1 for normal text.