#5F6F6A color
The hex color #5F6F6A is a gray.
In the RGB color model it is made of 37.3% red, 43.5% green and 41.6% blue (95, 111, 106).
Its hue angle is 161°, with 8% saturation and 40% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 5% yellow and 56% black.
The closest named color is Dark Forest (#556962), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.29:1).
#5F6F6A color codes
| HEX | #5F6F6A | |
|---|---|---|
| RGB | rgb(95, 111, 106) | |
| RGB percent | rgb(37.3%, 43.5%, 41.6%) | |
| HSL | hsl(161, 8%, 40%) | |
| HSV / HSB | hsv(161, 14%, 44%) | |
| CMYK | cmyk(14%, 0%, 5%, 56%) | |
| CIE LAB | lab(45.42, -7.08, 0.77) | |
| CIE LCH | lch(45.42, 7.12, 173.83) | |
| CIE XYZ | xyz(13.005, 14.842, 15.813) | |
| Decimal | 6254442 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6F6A, 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 #5F6F6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.97:1 | Fail | Fail | Pass |
| Sample text | 5.29:1 | Pass | Fail | Pass |
| #5F6F6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.29:1 | Pass | Fail | Pass |
| Sample text | 3.97: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 #5F6F6A looks to people with the most common types of color vision deficiency.
#6e6d6aProtanopia
no red cones#6b6b6aDeuteranopia
no green cones#5b6f6dTritanopia
no blue cones#6b6b6bAchromatopsia
no color vision
CSS examples
.background { background-color: #5f6f6a; }
.text { color: #5f6f6a; }
.border { border: 2px solid #5f6f6a; }
.transparent { background-color: rgb(95 111 106 / 50%); }
.gradient { background: linear-gradient(to right, #5f6f6a, #5f6c6f); }
Similar colors
#556962Dark Forest#5f6d6eWrapped in Twilight#67786eCamping Trip#657f7aUnderwater World#656e72Batman#6e797bPhantom#5f6957Italian Basil#6b6d6aShadows
Closest common color name: Ebony.
Questions
- What color is #5F6F6A?
- #5F6F6A is a gray, closest to the named color Dark Forest. It belongs to the gray family of colors.
- What is the RGB value of #5F6F6A?
- The RGB value is 95, 111, 106: 95 red, 111 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #5F6F6A?
- The complementary color is #6F5F64, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6F6A?
- White text. Black text has a contrast ratio of 3.97:1 and white text 5.29:1. WCAG asks for at least 4.5:1 for normal text.