#5F6857 color
The hex color #5F6857 is a dark, grayish green.
In the RGB color model it is made of 37.3% red, 40.8% green and 34.1% blue (95, 104, 87).
Its hue angle is 92°, with 9% saturation and 37% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 16% yellow and 59% black.
The closest named color is Italian Basil (#5F6957), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.83:1).
#5F6857 color codes
| HEX | #5F6857 | |
|---|---|---|
| RGB | rgb(95, 104, 87) | |
| RGB percent | rgb(37.3%, 40.8%, 34.1%) | |
| HSL | hsl(92, 9%, 37%) | |
| HSV / HSB | hsv(92, 16%, 41%) | |
| CMYK | cmyk(9%, 0%, 16%, 59%) | |
| CIE LAB | lab(42.8, -6.92, 8.43) | |
| CIE LCH | lch(42.8, 10.91, 129.41) | |
| CIE XYZ | xyz(11.39, 13.022, 10.928) | |
| Decimal | 6252631 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6857, 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 #5F6857 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.6:1 | Fail | Fail | Pass |
| Sample text | 5.83:1 | Pass | Fail | Pass |
| #5F6857 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.83:1 | Pass | Fail | Pass |
| Sample text | 3.6: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 #5F6857 looks to people with the most common types of color vision deficiency.
#6a6556Protanopia
no red cones#686558Deuteranopia
no green cones#606663Tritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6857; }
.text { color: #5f6857; }
.border { border: 2px solid #5f6857; }
.transparent { background-color: rgb(95 104 87 / 50%); }
.gradient { background: linear-gradient(to right, #5f6857, #576858); }
Similar colors
#5f6957Italian Basil#5e6354Black Forest#616c51Hinterland#5f674bMonstera#555d50Ebony#595d45Tree of Life#4e5a4aVerdant Hush#5b6f55Cactus
Questions
- What color is #5F6857?
- #5F6857 is a dark, grayish green, closest to the named color Italian Basil. It belongs to the gray family of colors.
- What is the RGB value of #5F6857?
- The RGB value is 95, 104, 87: 95 red, 104 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #5F6857?
- The complementary color is #605768, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6857?
- White text. Black text has a contrast ratio of 3.6:1 and white text 5.83:1. WCAG asks for at least 4.5:1 for normal text.