#5F6A5C color
The hex color #5F6A5C is a gray.
In the RGB color model it is made of 37.3% red, 41.6% green and 36.1% blue (95, 106, 92).
Its hue angle is 107°, with 7% saturation and 39% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 13% yellow and 58% black.
The closest named color is Italian Basil (#5F6957), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.67:1).
#5F6A5C color codes
| HEX | #5F6A5C | |
|---|---|---|
| RGB | rgb(95, 106, 92) | |
| RGB percent | rgb(37.3%, 41.6%, 36.1%) | |
| HSL | hsl(107, 7%, 39%) | |
| HSV / HSB | hsv(107, 13%, 42%) | |
| CMYK | cmyk(10%, 0%, 13%, 58%) | |
| CIE LAB | lab(43.53, -7.12, 6.45) | |
| CIE LCH | lch(43.53, 9.61, 137.8) | |
| CIE XYZ | xyz(11.805, 13.514, 12.11) | |
| Decimal | 6253148 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6A5C, 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 #5F6A5C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.7:1 | Fail | Fail | Pass |
| Sample text | 5.67:1 | Pass | Fail | Pass |
| #5F6A5C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.67:1 | Pass | Fail | Pass |
| Sample text | 3.7: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 #5F6A5C looks to people with the most common types of color vision deficiency.
#6b685bProtanopia
no red cones#69665dDeuteranopia
no green cones#5f6966Tritanopia
no blue cones#676767Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6a5c; }
.text { color: #5f6a5c; }
.border { border: 2px solid #5f6a5c; }
.transparent { background-color: rgb(95 106 92 / 50%); }
.gradient { background: linear-gradient(to right, #5f6a5c, #5c6a60); }
Similar colors
#5f6957Italian Basil#5e6354Black Forest#556962Dark Forest#555d50Ebony#616c51Hinterland#5f674bMonstera#5b6f55Cactus#67786eCamping Trip
Questions
- What color is #5F6A5C?
- #5F6A5C is a gray, closest to the named color Italian Basil. It belongs to the gray family of colors.
- What is the RGB value of #5F6A5C?
- The RGB value is 95, 106, 92: 95 red, 106 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #5F6A5C?
- The complementary color is #675C6A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6A5C?
- White text. Black text has a contrast ratio of 3.7:1 and white text 5.67:1. WCAG asks for at least 4.5:1 for normal text.