#5F6C6A color
The hex color #5F6C6A is a gray.
In the RGB color model it is made of 37.3% red, 42.4% green and 41.6% blue (95, 108, 106).
Its hue angle is 171°, with 6% saturation and 40% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 2% yellow and 58% black.
The closest named color is Wrapped in Twilight (#5F6D6E), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.47:1).
#5F6C6A color codes
| HEX | #5F6C6A | |
|---|---|---|
| RGB | rgb(95, 108, 106) | |
| RGB percent | rgb(37.3%, 42.4%, 41.6%) | |
| HSL | hsl(171, 6%, 40%) | |
| HSV / HSB | hsv(171, 12%, 42%) | |
| CMYK | cmyk(12%, 0%, 2%, 58%) | |
| CIE LAB | lab(44.52, -5.34, -0.55) | |
| CIE LCH | lch(44.52, 5.37, 185.87) | |
| CIE XYZ | xyz(12.683, 14.198, 15.705) | |
| Decimal | 6253674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6C6A, 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 #5F6C6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.84:1 | Fail | Fail | Pass |
| Sample text | 5.47:1 | Pass | Fail | Pass |
| #5F6C6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.47:1 | Pass | Fail | Pass |
| Sample text | 3.84: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 #5F6C6A looks to people with the most common types of color vision deficiency.
#6b6a6aProtanopia
no red cones#68686aDeuteranopia
no green cones#5c6d6bTritanopia
no blue cones#696969Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6c6a; }
.text { color: #5f6c6a; }
.border { border: 2px solid #5f6c6a; }
.transparent { background-color: rgb(95 108 106 / 50%); }
.gradient { background: linear-gradient(to right, #5f6c6a, #5f676c); }
Similar colors
#5f6d6eWrapped in Twilight#556962Dark Forest#656e72Batman#566062Yacht Club#6b6d6aShadows#686d70Beautiful Darkness#616669Gray Web#6a6b65Armoury
Closest common color name: Dim Gray.
Questions
- What color is #5F6C6A?
- #5F6C6A 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 #5F6C6A?
- The RGB value is 95, 108, 106: 95 red, 108 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #5F6C6A?
- The complementary color is #6C5F61, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6C6A?
- White text. Black text has a contrast ratio of 3.84:1 and white text 5.47:1. WCAG asks for at least 4.5:1 for normal text.