#5F6861 color
The hex color #5F6861 is a gray.
In the RGB color model it is made of 37.3% red, 40.8% green and 38% blue (95, 104, 97).
Its hue angle is 133°, with 5% saturation and 39% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 7% yellow and 59% black.
The closest named color is Black Forest (#5E6354), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.77:1).
#5F6861 color codes
| HEX | #5F6861 | |
|---|---|---|
| RGB | rgb(95, 104, 97) | |
| RGB percent | rgb(37.3%, 40.8%, 38%) | |
| HSL | hsl(133, 5%, 39%) | |
| HSV / HSB | hsv(133, 9%, 41%) | |
| CMYK | cmyk(9%, 0%, 7%, 59%) | |
| CIE LAB | lab(43.06, -4.94, 2.76) | |
| CIE LCH | lch(43.06, 5.66, 150.79) | |
| CIE XYZ | xyz(11.827, 13.196, 13.231) | |
| Decimal | 6252641 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6861, 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 #5F6861 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.64:1 | Fail | Fail | Pass |
| Sample text | 5.77:1 | Pass | Fail | Pass |
| #5F6861 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.77:1 | Pass | Fail | Pass |
| Sample text | 3.64: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 #5F6861 looks to people with the most common types of color vision deficiency.
#686661Protanopia
no red cones#666561Deuteranopia
no green cones#5e6866Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6861; }
.text { color: #5f6861; }
.border { border: 2px solid #5f6861; }
.transparent { background-color: rgb(95 104 97 / 50%); }
.gradient { background: linear-gradient(to right, #5f6861, #5f6866); }
Similar colors
#5e6354Black Forest#556962Dark Forest#6a6b65Armoury#5f6d6eWrapped in Twilight#5f6957Italian Basil#555d50Ebony#6b6d6aShadows#555b59Crucible
Questions
- What color is #5F6861?
- #5F6861 is a gray, closest to the named color Black Forest. It belongs to the gray family of colors.
- What is the RGB value of #5F6861?
- The RGB value is 95, 104, 97: 95 red, 104 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #5F6861?
- The complementary color is #685F66, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6861?
- White text. Black text has a contrast ratio of 3.64:1 and white text 5.77:1. WCAG asks for at least 4.5:1 for normal text.