#5F6751 color
The hex color #5F6751 is a dark, grayish yellow-green.
In the RGB color model it is made of 37.3% red, 40.4% green and 31.8% blue (95, 103, 81).
Its hue angle is 82°, with 12% saturation and 36% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 21% yellow and 60% black.
The closest named color is Italian Basil (#5F6957), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.92:1).
#5F6751 color codes
| HEX | #5F6751 | |
|---|---|---|
| RGB | rgb(95, 103, 81) | |
| RGB percent | rgb(37.3%, 40.4%, 31.8%) | |
| HSL | hsl(82, 12%, 36%) | |
| HSV / HSB | hsv(82, 21%, 40%) | |
| CMYK | cmyk(8%, 0%, 21%, 60%) | |
| CIE LAB | lab(42.35, -7.44, 11.41) | |
| CIE LCH | lch(42.35, 13.62, 123.12) | |
| CIE XYZ | xyz(11.055, 12.727, 9.657) | |
| Decimal | 6252369 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6751, 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 #5F6751 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.92:1 | Pass | Fail | Pass |
| #5F6751 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.92:1 | Pass | Fail | Pass |
| Sample text | 3.55: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 #5F6751 looks to people with the most common types of color vision deficiency.
#6a6450Protanopia
no red cones#696452Deuteranopia
no green cones#616561Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6751; }
.text { color: #5f6751; }
.border { border: 2px solid #5f6751; }
.transparent { background-color: rgb(95 103 81 / 50%); }
.gradient { background: linear-gradient(to right, #5f6751, #546751); }
Similar colors
#5f6957Italian Basil#5f674bMonstera#616c51Hinterland#5e6354Black Forest#595d45Tree of Life#585d40Cypress#6b6d4eHerbal Whispers#666a47Bancha
Closest common color name: Ebony.
Questions
- What color is #5F6751?
- #5F6751 is a dark, grayish yellow-green, closest to the named color Italian Basil. It belongs to the green family of colors.
- What is the RGB value of #5F6751?
- The RGB value is 95, 103, 81: 95 red, 103 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #5F6751?
- The complementary color is #595167, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6751?
- White text. Black text has a contrast ratio of 3.55:1 and white text 5.92:1. WCAG asks for at least 4.5:1 for normal text.