#5F6D5E color
The hex color #5F6D5E is a gray.
In the RGB color model it is made of 37.3% red, 42.7% green and 36.9% blue (95, 109, 94).
Its hue angle is 116°, with 7% saturation and 40% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 14% yellow and 57% black.
The closest named color is Italian Basil (#5F6957), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.47:1).
#5F6D5E color codes
| HEX | #5F6D5E | |
|---|---|---|
| RGB | rgb(95, 109, 94) | |
| RGB percent | rgb(37.3%, 42.7%, 36.9%) | |
| HSL | hsl(116, 7%, 40%) | |
| HSV / HSB | hsv(116, 14%, 43%) | |
| CMYK | cmyk(13%, 0%, 14%, 57%) | |
| CIE LAB | lab(44.49, -8.45, 6.62) | |
| CIE LCH | lch(44.49, 10.73, 141.92) | |
| CIE XYZ | xyz(12.208, 14.178, 12.681) | |
| Decimal | 6253918 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6D5E, 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 #5F6D5E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.84:1 | Fail | Fail | Pass |
| Sample text | 5.47:1 | Pass | Fail | Pass |
| #5F6D5E 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 #5F6D5E looks to people with the most common types of color vision deficiency.
#6e6a5dProtanopia
no red cones#6b695fDeuteranopia
no green cones#5e6c69Tritanopia
no blue cones#696969Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6d5e; }
.text { color: #5f6d5e; }
.border { border: 2px solid #5f6d5e; }
.transparent { background-color: rgb(95 109 94 / 50%); }
.gradient { background: linear-gradient(to right, #5f6d5e, #5e6d65); }
Similar colors
#5f6957Italian Basil#556962Dark Forest#5b6f55Cactus#616c51Hinterland#67786eCamping Trip#5e6354Black Forest#5f674bMonstera#555d50Ebony
Questions
- What color is #5F6D5E?
- #5F6D5E is a gray, closest to the named color Italian Basil. It belongs to the gray family of colors.
- What is the RGB value of #5F6D5E?
- The RGB value is 95, 109, 94: 95 red, 109 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #5F6D5E?
- The complementary color is #6C5E6D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6D5E?
- 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.